๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ39

http์˜ ์ฝ”๋“œ๋กœ ์ƒํƒœ๋ฅผ ์•Œ๋ ค์ฃผ๋Š” ์‚ฌ์ดํŠธ http://httpstat.us/ ๋ณธ ์‚ฌ์ดํŠธ์—์„œ๋Š” ๊ฐ ๋ฒˆํ˜ธ์— ํ•ด๋‹นํ•˜๋Š” ์›น ์‚ฌ์ดํŠธ์˜ ์—๋Ÿฌ/์ •์ƒ ์ƒํƒœ๋ฅผ ์•Œ๋ ค์ค€๋‹ค. httpstat.us httpstat.us This is a super simple service for generating different HTTP codes. It's useful for testing how your own scripts deal with varying responses. Just add the status code you want to the URL, like this: httpstat.us/200 We'll return a response like httpstat.us https://developer.mozilla.org/ko/docs/Web/HTTP/Status ๋”.. 2022. 9. 10.
[Python] random/while/list/tuple/dict >>์ง€๋‚œ์ฃผ ๊ณต๋ถ€ ๋‚ด์šฉ ๋ณต์Šต # ๋žœ๋ค ์ˆซ์ž๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์‹ถ์„๋•Œ ์‚ฌ์šฉํ•˜๋Š” import ๋ฌธ #random๋ชจ๋“ˆ์—์„œ randint ํ•จ์ˆ˜ import from random import randint # while ์กฐ๊ฑด ๋’ค์—๋„ or / and ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. #๋ฆฌ์ŠคํŠธ๋Š” ๋ณ€๊ฒฝ ๊ฐ€๋Šฅ, ํŠœํ”Œ์€ ๋ณ€๊ฒฝ ๋ถˆ๊ฐ€๋Šฅ. ์ˆ˜์ •๊ฐ€๋Šฅํ•œ ์ž๋ฃŒ๊ตฌ์กฐ๋ฅผ ์›ํ•œ๋‹ค๋ฉด ๋ฆฌ์ŠคํŠธ๋ฅผ ๋งŒ๋“ค๊ฒƒ -> ๋งŒ์•ฝ ํŠœํ”Œ์ด dict ์•ˆ์— key-valueํ˜•์‹์œผ๋กœ ๋“ค์–ด๊ฐ„ ๊ฒƒ์ด๋ผ๋ฉด ์ดํ›„ ์ฝ”๋“œ๋ฅผ ์ด์šฉํ•˜์—ฌ ๋ณ€๊ฒฝํ• ์ˆ˜๋„ ์žˆ๋‹ค. ์•„๋ž˜ ๊ทธ๋ฆผ ์˜ˆ์‹œ ์ฐธ๊ณ  #dictionary๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ณ  ์ˆ˜์ •ํ•˜๊ณ  ์‚ญ์ œํ•  ์ˆ˜ ์žˆ๋‹ค. ์ฆ‰ ๋ณ€๊ฒฝ๊ฐ€๋Šฅ. mutable! 2022. 9. 8.
SQLD ๋Œ€๋น„ ํ‚ค์›Œ๋“œ ์ •๋ฆฌ(2) - ๊น€๊ฐ•๋ฏผSQLPL๋‹˜ ๊ฐ•์˜ SQLD ์‹œํ—˜ ์ „ ์ด์ •๋ฆฌํ•˜๊ธฐ์— ์ข‹๋‹ค๊ณ  ์œ ๋ช…ํ•œ ์œ ํŠœ๋ธŒ ๊ฐ•์˜์˜ ๋‚ด์šฉ ์ •๋ฆฌ์ž…๋‹ˆ๋‹ค. ๊น€๊ฐ•๋ฏผ ๊ฐ•์‚ฌ๋‹˜๊ป˜์„œ ์œ ํŠœ๋ธŒ์— ์—…๋กœ๋“œ ํ•ด์ฃผ์‹  SQLD ์ตœ์ข… ์ •๋ฆฌ๊ฐ•์˜ 2ํŽธ์˜ ๋‚ด์šฉ์„ ํ‚ค์›Œ๋“œ๋งŒ ์ •๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค. ๋ฒ”์œ„๋Š” ์œˆ๋„์šฐ ํ•จ์ˆ˜๋ถ€ํ„ฐ ์ธ๋ฑ์Šค์ž…๋‹ˆ๋‹ค. SQL ์ž๊ฒฉ ๊ฒ€์ • ์‹ค์ „๋ฌธ์ œ ๋ฌธ์ œ์ง‘ ๋ฒ”์œ„๋กœ๋Š” 2๋‹จ์›์˜ 2์žฅ์˜ ๋งˆ์ง€๋ง‰๋ถ€ํ„ฐ 3์žฅ๊นŒ์ง€์˜ ๋‚ด์šฉ์ด๊ฒ ๋„ค์š”! ์‹œํ—˜๊นŒ์ง€ ์‹œ๊ฐ„์ด ์ด‰๋ฐ•ํ•ด์„œ ์˜์ƒ์„ ๋ชป ๋ณด์‹œ๋Š” ๋ถ„๋“ค์€ ๊ฐ•์˜์— ์–ธ๊ธ‰๋œ ํ‚ค์›Œ๋“œ๋ฅผ ๋ชจ๋‘ ์•„๋ž˜ ์ •๋ฆฌํ•ด๋†“์•˜์œผ๋‹ˆ ํ™•์ธํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. https://www.youtube.com/watch?v=PjCSvexo3Ow 1. ์œˆ๋„์šฐ ํ•จ์ˆ˜ [๋ฌด์กฐ๊ฑด ๊ธฐ์ถœ ๋ฌธ์ œ ํ’€๊ธฐ! ๋งŽ์ด ํ’€๊ธฐ! ๊ผญ ๋ณด๊ธฐ!] - Rows, Range ํ•จ์ˆ˜์˜ ์ฐจ์ด์  ์•Œ์•„๋‘๊ธฐ. -> Range์— ๊ฐ™์€ ๊ฐ’์ด ์žˆ๋Š”์ง€ ํ™•์ธํ•  ๊ฒƒ(๋ฒ”์œ„๋ผ์„œ ๊ฐ™์€ ๊ฐ’ ๋‚˜์˜ฌ ํ™•๋ฅ ์ด ์žˆ์Œ).. 2022. 9. 3.
[์‹œํ—˜์ „ ํ•„๋…!] SQLD ๊ธฐ์ถœ ๋ฌธ์ œ ์ฐธ๊ณ  ์‚ฌ์ดํŠธ ๋ชจ์Œ SQLD ๊ธฐ์ถœ๋ฌธ์ œ๋ฅผ ์˜ฌ๋ ค์ฃผ์‹  ๋ถ„๋“ค์˜ ๋ธ”๋กœ๊ทธ/ํ‹ฐ์Šคํ† ๋ฆฌ ๋งํฌ๋ฅผ ๋ชจ์•„๋‘์—ˆ์Šต๋‹ˆ๋‹ค. ์ž๊ฒฉ์ฆ ์ค€๋น„, ์‹œํ—˜๊ณต๋ถ€์— ๋„์›€์ด ๋˜์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค! 21, 24, 25, 26, 30ํšŒ, 34ํšŒ, 38ํšŒ, 2017๋…„ ๊ธฐ์ถœ๋ฌธ์ œ ๋ชจ์Œ ์˜ฌ๋ ค์ฃผ์‹  ํ‹ฐ์Šคํ† ๋ฆฌ - Tudou๋‹˜ https://tudou.tistory.com/entry/SQLD-%EA%B8%B0%EC%B6%9C%EB%AC%B8%EC%A0%9C-%EB%AA%A8%EC%9D%8C SQLD ๊ธฐ์ถœ๋ฌธ์ œ ๋ชจ์Œ SQLD ์‹œํ—˜์€ ํ•œ๊ตญ๋ฐ์ดํ„ฐ์‚ฐ์—…์ง„ํฅ์›์—์„œ ์ฃผ๊ด€ํ•˜๋Š” SQL ๊ฐœ๋ฐœ ์‹œํ—˜์ž…๋‹ˆ๋‹ค. ๊ตญ๊ฐ€ ๊ณต์ธ์ž๊ฒฉ์ฆ์œผ๋กœ 25ํšŒ์ฐจ ์‹œํ—˜๋ถ€ํ„ฐ๋Š” ํ† ์ต์ฒ˜๋Ÿผ 2๋…„ ์œ ํšจ๊ธฐ๊ฐ„์„ ๊ฐ€์ง„ ์‹œํ—˜์ž…๋‹ˆ๋‹ค. ๋‹ค๋งŒ ์˜จ๋ผ์ธ ๋ณด์ˆ˜๊ต์œก์„ ํ•˜๋ฉด ์˜๊ตฌ์ž tudou.tistory.com 21ํšŒ, 30ํšŒ, 34ํšŒ, ๋‹จ๋‹ตํ˜•, ์š”์•ฝ์ •๋ฆฌ, 40ํšŒ ๋ฐ ์‹ค.. 2022. 9. 3.