์๋ก์ด ๊ธฐ์ ์ต๋์ ๋ ธ๋ ฅํ๊ณ ์์ผ๋ฉฐ, ํธ๋ ๋ํ IT ๊ธฐ์ ์ ๊ด์ฌ์ด ๋ง์ ๊ฐ๋ฐ์ ์ ๋๋ค. ๋น ๋ฐ์ดํฐ & ๊ธฐ๊ณํ์ต ํ์ ๊ฐ๋ฐ์ ์ต์ ์ ๋คํด ๋งค์ง ์ค ์ ๋๋ค.
– ํ ๋น
ํ
ํฌ ๊ธฐ์
์์ง๋์ด ์ฌ์ง ์ค
– ์ธํ๋ฐ ์ค๋ฆฌ์ง๋ ํ์ด์ฌ Level 1, 2, 3, 4 ๊ฐ์
– ํจ์คํธ์บ ํผ์ค(fastcampus) ํ์ด์ฌ ๊ธฐ๋ฐ ๊ด๋ จ ๊ฐ์
– ์ญ์ค๋ํ๊ต ์ผ๋ฐ๋ํ์ IT ์ตํฉํ๊ณผ ์กธ์
– ์ผ์ฑ SDS ๋ฉํฐ์บ ํผ์ค(๋ฅ๋ฌ๋ ๊ธฐ๋ฐ ๋น
๋ฐ์ดํฐ ๋ถ์ ์ ๋ฌธ๊ฐ ๊ณผ์ ) ๊ธฐ์ Part ๊ฐ์
– ๊ธฐ์ ๋ธ๋ก๊ทธ : http://niceman.tistory.com/
Courses
Reviews
- Introduction to Python and Creating Various Automated Applications Using Web Crawling
- GO Language Programming Core Basics Introduction Course, Easy and Quick to Complete
- A simple guide to the core of PyCharm
gooddoctor8228
ยท
Introduction to Python and Creating Various Automated Applications Using Web CrawlingIntroduction to Python and Creating Various Automated Applications Using Web Crawling- A simple guide to the core of PyCharm
Posts
Q&A
๋ฐฉ๋ฒ2, ๋ฐฉ๋ฒ3์ ๊ฒฐ๊ณผ๊ฐ ์๊ตฌ ์ถ๋ ฅ๊ฒฐ๊ณผ์ ๋ค๋ฆ ๋๋ค.
์ฌ๋ฌ ๋ฐฉ๋ฒ์ด ์์ง๋ง,1 ๋ฒ ๋ฐฉ๋ฒ def dedupe_keep_order(seq):seen = set()return [x for x in seq if not (x in seen or seen.add(x))]data = [1, 2, 3, 1, 2, 5, 3, 7]print(dedupe_keep_order(data))์ถ๋ ฅ : [1, 2, 3, 5, 7] 2๋ฒ ๋ฐฉ๋ฒ(๋ณต์กํ ์์์์)data = ["dog", "cat", "dog", "bird", "cat", "lion","tiger", "lion", "dog", "bear", "tiger", "wolf","wolf", "cat", "eagle", "bear"] unique = list(dict.fromkeys(data))print(unique)] ์ถ๋ ฅ : ['dog', 'cat', 'bird', 'lion', 'tiger', 'bear', 'wolf', 'eagle'] 3๋ฒ ๋ฐฉ์(Set)seen = set()unique = [x for x in data if not (x in seen or seen.add(x))]print(unique) ์ถ๋ ฅ : ['dog', 'cat', 'bird', 'lion', 'tiger', 'bear', 'wolf', 'eagle'] ๋ฑ์ด ์์ต๋๋ค. ์ฝ๋๋ ํ ๋ฒ ์ดํด๋ณด๊ณ ์์ ์ด ํ์ํ๋ฉด ์ ๋ฐ์ดํธ ํ ๊ป์!
- 0
- 4
- 32
Q&A
๋ฐฉ๋ฒ2, ๋ฐฉ๋ฒ3์ ๊ฒฐ๊ณผ๊ฐ ์๊ตฌ ์ถ๋ ฅ๊ฒฐ๊ณผ์ ๋ค๋ฆ ๋๋ค.
์๋ ํ์ธ์ ์ ์ฒด ์์ค์ฝ๋๋ฅผ ์ฌ๋ ค์ฃผ์๋ฉด ๊ฐ์ฌ๋๋ฆฌ๊ฒ ์ต๋๋ค.
- 0
- 4
- 32
Q&A
๊ฐ์ ์๋ฃ ๋ถํ๋๋ฆฝ๋๋ค!
๋ค๋ค
- 0
- 2
- 16
Q&A
print(id(m) == id(n)) --> False
์๋ ํ์ธ์. ์ข์ ์ง๋ฌธ ์ฃผ์ จ์ต๋๋ค.ํ์ด์ฌ ๋ฒ์ ์ ๋ฐ๋ผ ์์ดํ๊ณ ์ดํดํ๊ณ ๊ณ์ ๋๋ก ์์ ์ซ์๋ ์บ์ฑ์ผ๋ก ๋์ผํ๊ฒ ๋์ค๊ฒ ๋ฉ๋๋ค.์ด๊ธฐ ๋ฒ์ (๋๋ ๋ํํ REPL ํ๊ฒฝ)์์๋ ์ปดํ์ผ๋ฌ๊ฐ ๊ฐ์ ์์๋ก ์ธ์ํ๋ ๊ฒฝ์ฐ๊ฐ ์์์ต๋๋ค.>>> a = 800>>> b = 800>>> a is bTrue # ์ผ๋ถ ๋ฒ์ ์ด๋ REPL์์ ์ด๋ ๊ฒ ๋์ด m = 100 โ (๊ฐ์ ๊ฐ์ฒด)m = 800 โ (์ ๊ฐ์ฒด) ์์ฝ์ ํ๋ฉดํ์ด์ฌ์ -5~256๊น์ง์ ์ ์๋ฅผ ๋ฏธ๋ฆฌ ์บ์ฑ์ด ๋ฒ์ ๋ด ์ซ์๋ ๊ฐ์ ๊ฐ์ฒด๋ฅผ ๊ฐ๋ฆฌํค์ง๋ง,๊ทธ ๋ฐ์ ์ซ์๋ ์๋ก ์์ฑ๋์ด id๊ฐ ๋ค๋ฆ ๋๋ค. Python 2.x / ์ด์ฐฝ๊ธฐ 3.x ๋ฒ์ ์์์ ์ฐจ์ด๋ ์์์ผ๋, ์ฐธ๊ณ ๋ถํ๋๋ ค์.๊ฐ์ฌํฉ๋๋ค.
- 0
- 1
- 22
Q&A
๊ณ ์ธํฐํ์ด์ค ๊ด๋ จ
์๋ ํ์ธ์.DI ์ฃผ์ ์ ๊ฒฝ์ฐ ์๋์ ์ผ์ด์ค๋ฅผ ์ฃผ๋ก ์ฌ์ฉํฉ๋๋ค. type Repository interface { Find(id string) string}type MemoryRepo struct{}func (r MemoryRepo) Find(id string) string { return "data:" + id}type Service struct { Repo Repository}// ๋ช ์์ DIfunc NewService(repo Repository) *Service { return &Service{Repo: repo}}func main() { repo := MemoryRepo{} svc := NewService(repo) // ์์กด์ฑ ์ฃผ์ fmt.Println(svc.Repo.Find("123"))} ์์ธ๋ฌ, google/wire, uber/dig ๋ฑ ๋ณด์กฐ ํ๋ ์์ํฌ๋ฅผ ์ฌ์ฉํด์ DI ์์กด๊ด๊ณ์ ๊ทธ๋ํ ๊ด๊ณ๋ํ์ธํ์ค ์ ์์ต๋๋ค.
- 0
- 2
- 23
Q&A
45. ๋ณ๋ ฌ์ฑ 2 - Futures(5-1) wait๊ฐ ์๋๋ ๋๋ก ๋์ํ์ง ์์ต๋๋ค.
์๋ ํ์ธ์. ์ฑ์ง๋.์๋ AI ๋ต๋ณ๊ณผ ์ ์ฌํ์ง๋ง, ๋ชจ๋ ์ค๋ ๋๊ฐ ์์ ์ด ๋๋ ๋ ๊น์ง main ์ค๋ ๋๊ฐ block ๋๋ฏ๋ก,5์ด ํ ๋ฐํ์ผ๋ก ์๊ฐ๋์ง ์๋ ๋ถ๋ถ์ด ๋ง์ต๋๋ค.์ ํํ๊ฒ ๋ณด๋ ค๋ฉด, ๊ฐ์ ์ค๋ฐ๋ถ์ ๋์ค์ง๋ง, done, not_done = futures.wait(futures_list, timeout=5.0)print("์๋ฃ๋ ์์ :", done)print("์์ง ์ ๋๋ ์์ :", not_done) ํด๋น ์ฝ๋๋ฅผ ์ฌ์ฉํด์ ํ์ธ ํ ์ ์์ต๋๋ค.๊ฐ์ฌํฉ๋๋ค.
- 0
- 2
- 41
Q&A
๋ฉํฐ์ค๋ ๋ฉ - 44. ๋ณ๋ ฌ์ฑ 1 - Futures(4-2)
์๋ ํ์ธ์.์ต์ ํ์ด์ฌ ๋ฒ์ ์คํ ํ๋ก๊ทธ๋จ ๋ฐ ๋ชฉ์ ์ ๋ฐ๋ผ ์กฐ๊ธ์ ๋ค๋ฅด๊ธด ํ๊ฒ ์ง๋ง, ๋ง์ํ์ ๋๋ก CPU-bound ์์ ์์๋ Python GIL ๋๋ฌธ์ ๋ฉํฐ์ค๋ ๋๊ฐ ์ค์ ๋ณ๋ ฌ ์คํ์ด ์ ๋ผ์ ์ฑ๊ธ ์ค๋ ๋๋ ์ฐจ์ด๊ฐ ๊ฑฐ์ ์์ต๋๋ค. ์๋๋ฉด ๋จ์ ํด๋ญ ์คํผ๋๋ ์์ฒญ ๋์์ง๊ธฐ๋ ํ๊ตฌ์!ํด์ I/O ์์ ๋ฐ ํ์ด์ฌ 3.13 ์ดํ ๋ฒ์ ์์๋ GIL์ ํด์ ํ ๋ฒ์ ์ ์ ๊ณตํ๊ณ ์์ต๋๋ค.์ด๋ฐ ๋ฒ์ ์ ์ฌ์ฉํ๋ค๋ฉด ์ ์๋ฏธํ ๊ฒฐ๊ณผ๊ฐ์ด ๋ฌ๋ผ์ง ์ ์๊ฒ ์ต๋๋ค.๊ฐ์ฌํฉ๋๋ค.
- 0
- 2
- 31
Q&A
์๋ฃ์ฆ ๊ด๋ จ
์๋ ํ์ธ์! kky1691๋!์ด ๋ถ๋ถ์ ๊ฒช์ด๋ณด์ง ์์ ๋ถ๋ถ์ด๋ผ๋ชจ๋ ์์ ๋ฐ ์ปค๋ฆฌํ๋ผ ๋ชฉ๋ก์ด ์๋ฃ ์ํ๊ฐ ๋์๋์ง ์ฒดํฌ ํด๋ณด์ ์ผ ๋ ๊ฒ ๊ฐ์์!์ด์ฌํ ํ์ ์ ์ข๋ค์!๊ฐ์ฌํฉ๋๋ค.
- 0
- 2
- 37
Q&A
์์ ํ์ผ์ ๋ค์ด๋ฐ์์ ๋ดค๋๋ฐ ํ์ด์ฐธ์ผ๋ก ๋์์..
์๋ ํ์ธ์. vscode ๋ฑ์์ *.py ๋ก ๋๋๋ ํ์ผ์ ์ด๋ฉด ๋ฉ๋๋ค.๊ธฐ๋ณธ ์์ ์ฐ๊ฒฐ ํ๋ก๊ทธ๋จ์ด pycharm์ผ๋ก ๋์ด ์์๊ฑฐ์์!๊ฐ์ฌํฉ๋๋ค.
- 0
- 2
- 41
Q&A
vscode ๋ช ๋ น ํ๋ ํธ ์ค๋ฅ
์๋ ํ์ธ์. Ch๋.๊ด๋ฆฌ์๊ถํ์ผ๋ก vscode ๋ฐ ํ์ด์ฌ ์ค์น๊ฐ ๋์๋์งํ์ธ๋ถํ๋๋ ค์!๋ํ, ํด๋๋ฅผ ๋ค๋ฅธ ๊ณณ์ผ๋ก ์ง์ ํ test.py๋ฅผ ๋ง๋ค์ด ์คํํด๋ณด์๋ ๊ฒ์ ์ถ์ฒ๋๋ฆฝ๋๋ค.๊ฐ์ฌํฉ๋๋ค
- 0
- 2
- 32







