μ½λ©λμ₯ (https://dojang.io/mod/page/view.php?id=2414)
νμ΄μ¬μ λ©λͺ¨λ¦¬ κ΄λ¦¬λ λλΆλΆ Python Memory Managerμ μν΄ μνλμ§λ§, μ΅μμ μ½λ© λ°©λ²κ³Ό Python Memory Manager μλ λ°©μμ λν μ΄ν΄λ λ³΄λ€ ν¨μ¨μ μ΄κ³ μ μ§ κ΄λ¦¬ κ°λ₯ν μ½λλ‘ μ΄μ΄μ§ μ μλ€μ»΄ν¨ν°μ μ€μ λλ κ°μ λ©λͺ¨λ¦¬μ λΉ κ³΅
collections --- 컨ν μ΄λ λ°μ΄ν°ν (https://python.flowdas.com/library/collections.html)
https://python.flowdas.com/library/collections.html
리μ€νΈ λ©μλ (https://data-make.tistory.com/102)
νμ΄μ¬(Python)μ 1990λ μμ€ν λ₯΄λ΄μ 'κ·λ λ° λ‘μ¬ (Guido Van Rossum)'μ΄ κ°λ°ν μΈν°νλ¦¬ν° μΈμ΄ μΈν°νλ¦¬ν° μΈμ΄: ν μ€μ© μμ€ μ½λλ₯Ό ν΄μν΄μ κ·Έλκ·Έλ μ€νν΄ κ²°κ³Όλ₯Ό λ°λ‘ νμΈν μ μλ μΈμ΄ νμ΄μ¬μ 볡μμ κ΄λ ¨ λ΄μ₯ν¨μ νμ΄μ¬ μ°μ°μ
a[1] vs. a[1:2] 리μ€νΈ κ΄λ ¨ ν¨μλ€
https://testmanager.tistory.com/121
λ‘μ§μ μ²λ¦¬ν κ²°κ³Όλ 'λ³μ'μ μ¬ν λΉνμ¬ λ³μλ₯Ό μ°Έμ‘°ν λλ§λ€ κ·Έ κ°μ κ²Ύμ μ¬μ©ν μ μλ€μμ½μ΄λ λ³μμ²λΌ μ¬μ©νμ§λ§, 'λ¬Έλ² κ·μΉ'μ μ ν μ©λλ‘λ§ μ¬μ©!μ¦! μμ½μ΄λ‘λ λ³μλ₯Ό μ μν μ μλ€!4\. λ΄μ₯/μ μ μ΄λ¦κ³΅κ°
robots.txtμΉμ¬μ΄νΈ λ§λ€ "robots.txt"νμΌμ ν΅ν΄μν΄λ‘λ§ λΆκ°ν λΆλΆμ νμνκ³ μλ€λ£¨νΈ μ΄ν λͺ¨λ ν¬λ‘€λ§ κΈμ§νλ μ¬μ΄νΈνΉμ λλ ν°λ¦¬ νμλ§ κΈμ§νλ μ¬μ΄νΈ3\. λλ μ
1. νμ΅λͺ©ν 2. νμ΅λ΄μ© 3. λλ μ
μ΄μ± λ무 μ’μμ λλ¬Όλλ€πππππππππππππππ
Docstring - λ¬Έμν (https://wikidocs.net/16050)
EAFP - νλ½λ³΄λ€ μ©μꡬνλ κ²μ΄ μ½λ€ (https://wikidocs.net/16062)
https://realpython.com/python-concurrency/
GIL κ°λ μ΄ν΄νκΈ° (https://www.slideshare.net/yongho/2011-h3)2D4Pythonμμμ λμμ±\_λ³λ ¬μ± (https://www.slideshare.net/deview/2d4python?ref=https://1
λ°μ½λ μ΄ν°λ₯Ό μ¬μ©ν λ functools.wraps()λ₯Ό μ¬μ©νλ μ΄μ λ!μ¬μ©νλ μνλ κ²°κ³Όλ₯Ό λμΌνμ§λ§!!! νμ΄μ¬ μ½λμμ λ°μ½λ μ΄ν°λ₯Ό μ¬μ©νλ€λ©΄, λλ²κΉ μ μν΄μ functools.wraps λͺ¨λμ μ¬μ©! κ²°κ³Όμ μ°¨μ΄λ μμΌλ nameκ³Ό do
https://stackoverflow.com/questions/24902969/how-should-i-understand-the-bunch-class-in-pythonhttps://pypi.org/project/bunch/
self μ΄ν΄νκΈ° (https://wikidocs.net/1742)ν΄λμ€ (https://wikidocs.net/28)λμ€ν¬λ¦½ν° μ¬μ©λ² μλ΄μ (https://docs.python.org/ko/3/howto/descriptor.html)
Docstring - λ¬Έμν (https://wikidocs.net/16050)
ν¨κ³Όμ μΌλ‘ TDD, 리ν©ν λ§, OOPλ₯Ό μ°μ΅νλ λ°©λ²μ? (https://medium.com/@codesquad_yoda/%ED%9A%A8%EA%B3%BC%EC%A0%81%EC%9C%BC%EB%A1%9C-tdd-%EB%A6%AC%ED%8C%A9%ED%86%A0
https://docs.python.org/3/library/queue.html
'μ½λ' is 'λμμΈ''λμμΈ' is 'μ½λ'ν΄λ¦°μ½λμ κΆκ·Ήμ μΈ λͺ©ν: μ½λλ₯Ό κ°λ₯ν κ²¬κ³ νκ³ κ²°ν¨μ μ΅μννκ³ μμ ν μλͺ νλλ‘ νλ κ²μμ νκ³ κ³ μ±λ₯μ΄λ©° μ μ§λ³΄μμ±μ΄ μ’κΈ°λ₯Ό λ°λΌλ κ²κ²¬κ³ ν μννΈμ¨μ΄μ κ°λ μ μ΄ν΄μμ μ€ μλͺ»λ λ°μ΄ν°λ₯Ό λ€λ£¨λ λ°©λ²μλ‘μ΄ μꡬ μ¬
OOP(Object-oriented Programming Languages, κ°μ²΄μ§ν₯μΈμ΄)λ―Ήμ€μΈμ κ°λ "μμ(inherited)"보λ€λ "included"λΌκ³ λ¬μ¬λ¨ν΄λμ€μ μ½λλ₯Ό μ½μ ν μ μλλ‘ ν¨λ―Ήμ€μΈμ νΉλ³ν μ’ λ₯μ λ€μ€ μμhttps://en.wik
ν¨μμ λν μ ν¨μ± κ²μ¬λ₯Ό νλ€λ©΄ ν¨μμμ ꡬνλ κΈ°λ₯?!μ λν κ²μ¬κ° νμν¨μμμ ꡬνλ κΈ°λ₯ μΈμλ, ν¨μμ λͺ©μ κ³Ό ν¨μμ κ²°κ³Όκ° μΌμΉνλ κ°λ₯Ό κ²μ¬ν νμκ° μμ!
https://www.youtube.com/watch?v=18B1pznaU1o&feature=youtu.be
https://www.youtube.com/watch?v=XMMHpv54xxM&feature=youtu.be
https://www.youtube.com/watch?v=T8CQwGIsrx4&feature=youtu.be
https://www.youtube.com/watch?v=ndi55Ig6-SI&feature=youtu.be
https://www.youtube.com/watch?v=W-lZttZhsUY&feature=youtu.be
https://www.youtube.com/watch?v=GJUL3glrKvA&feature=youtu.be
νμ΄μ¬μμ ipλ₯Ό λ€λ£¨λ ipaddress λͺ¨λμ΄ μλ€λ κ²μ μκ²λμλ€.ipμ£ΌμνλκΉ λ€νΈμν¬ μμ§λμ΄λ‘ μΌνλ μμ μ΄ μκ°λλꡬ먾γ γ
νμ΄μ°Έμ λ©ν°λΌμΈ(λ©ν°μ»€μ) μ λ μ λ¨μΆν€λ₯Ό μκ°ν©λλ€"crl + cmd + g"λ§ν¬ν μ€νΈ
from itertools import combinations
μ κΈ°λ°©κΈ°ν νμ΄μ¬ 리μ€νΈ μ»΄ν리ν¨μ μμ€μ½λλ μ΄λ€ λͺ¨μ΅μΌκΉ? λ¬Έλ κΆκΈμ°!리μ€νΈ ννμ μ¬μ©νκΈ°PEP 202 -- List ComprehensionsPython: the mechanism behind list comprehension
https://qastack.kr/programming/18815820/convert-string-to-binary-in-python
1) loggeres2) handlers3) filters4) formattershttps://docs.djangoproject.com/en/3.1/topics/logging/
https://orashelter.tistory.com/50
https://wikidocs.net/70650https://velog.io/@jcinsh/Django-sqlite3-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-n7p53lj3
μ¬λ§νλ©΄ ν΄κ²°ν΄μ€λ€λ "conda-forge"κ·Όλ° λμ?!https://cceeddcc.tistory.com/4
"λ΄ μ»΄ν¨ν°"μμ νμΈν λμ μ»΄ν¨ν°λ 64λΉνΈ!https://brunch.co.kr/@topasvga/343#:~:text=64%EB%B9%84%ED%8A%B8%EB%A5%BC%20%EC%84%A4%EC%B9%98%ED%95%A0%EC%A7%80,3.7%20
λ―Έμ€ν° ν΄! λ무 κ³ λ§μ!https://answer-id.com/ko/54300518
https://opentutorials.org/course/3718/24665
https://developer.mozilla.org/ko/docs/Learn/Server-side/Django/development_environment
https://ssungkang.tistory.com/entry/Django-11-Pagination-%EC%9D%84-%EC%95%8C%EC%95%84%EB%B3%B4%EC%9E%90
https://djangoadventures.com/how-to-create-file-download-links-in-django/
https://medium.com/@singhgautam7/django-signals-master-pre-save-and-post-save-422889b2839
https://lewiskori.com/blog/list-of-resources-for-junior-developers/
https://scoutapm.com/blog/django-and-the-n1-queries-problem
μΆμν ν΄λμ€λ claa metaμ abstractμ "True"λ₯Ό κΌ μ§μ ν΄μ£Όμ΄μΌ νλ€!tacker.core.models.pytracker.flavor.models.pyμ₯κ³ μμμ flavor.modelsμ μλ "Flavor" λͺ¨λΈμ"TimeStampedModel"
JetBrains μ λ£λΌμ΄μΌμ€(All Products Pack)λ₯Ό ꡬ맀νλ€!μ²μ 1λ μ ννλ‘ μ½ 30λ§μ μ λκ³ 3λ μ°¨ μ°μ λΌμ΄μΌμ€λ₯Ό ꡬ맀νλ©΄ λ κ° κΈμ‘μ΄ νν 15λ§μμΌλ‘ λ¨μ΄μ§λ€.30λ§μ μ£Όκ³ μ° λΌμ΄μΌμ€!!λ§μ λΌμ΄μΌμ€ ν¨ν€μ§ μ€μ All Products Pa
μ μ½(constraint)μ μ€μ νμ§ μμ generic foreign keyλ‘ μ°κ²°λ λͺ¨λΈ(ν μ΄λΈ)μ λμ€μ ν° λ¬Έμ λ₯Ό μΌμΌν¨λ€κ³ νλ€.μ μ½μλ μΈλν€λ₯Ό μ¬μ©νλ κ²μ NoSQLμ μ°λ κ²μ΄λ λ§μ°¬κ°μ§λΌκ³ νλ€.μμ§ ν μλΏμ§λ μμ§λ§Two Scoops of Djan
CASE ACASE BCASE Aμ Bμ μ°¨μ΄λ?!CASE A => Flavor λͺ¨λΈμμ fooκ° μκ³ , objectsλ μ¬λΌμ§CASE B => Flavor λͺ¨λΈμμ objectκ° μκ³ , fooλ μμ
μ μ λ©μλ: bit_length()
IEEE 754 : μ»΄ν¨ν° λΆλμμμ νν νμ€floatλ λΆλ³ν32λΉνΈ λΆλμμμ νν λ°©μμ μ1λΉνΈ: λΆνΈ(0: μμ, 1: μμ)23λΉνΈ: μ ν¨ μ«μ μ리μ (significant digits)8λΉνΈ: μ§μ(exponent) / μ§μμ λ°μ΄μ΄μ€ κ° 127μ λν¨
https://076923.github.io/posts/Python-numpy-15/
https://stackoverflow.com/questions/29280470/what-is-timeit-in-python
https://thesaintraphael.medium.com/django-and-python-decouple-8dd39c56b56
PyPyPystonλμ΄νΈμΉ΄CythonNumbatyped_pythonhttps://www.itworld.co.kr/news/185273
https://medium.com/@hckcksrl/python-property-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-89eb0f0e2e56
https://www.daleseo.com/python-enum/
https://brownbears.tistory.com/70
https://www.slideshare.net/hosunglee948/python-52222334
https://developer.mozilla.org/ko/docs/Learn/Server-side/Django/Testing
custom command λ§λ€κΈ° (https://brownbears.tistory.com/463)
c = calc()cλ mul_add ν¨μ μΈμ€ν΄μ€λ₯Ό κ°λ¦¬ν΄κ·Έλμ c()λ mul_addλ₯Ό μ€ννλ κ²μμ¦, c()λ mul_add()μ λμΌκ·Έλμ, c(x)λ mul_add(x)μ λμΌhttps://dojang.io/mod/page/view.php?id=23
νμ΄μ¬ ν΄λμ€μμ μμ±μ΄λ λ©μλλ₯Ό prviateνκ² νκ³ μΆμ λ,μμ±μ΄λ¦μ΄λ λ©μλ μ΄λ¦ μμ μΈλλ° λκ°λ₯Ό μ°λ¬μ λΆμΈλ€μΈλΆμμ λμ λ§κ΅¬ μΈ μ μλλ‘ μ§κ°(\_\_wallet)μ λΉκ³΅κ° μμ±μΌλ‘ μ μνλ€μλ₯Ό λ€μ΄ κ²μ μΊλ¦ν°κ° νμλ₯Ό μλΉν΄μ μ€ν¬μ μ΄λ€κ³ μΉ
μΈμ€ν΄μ€ λ©μλμ μ λ©μλν΄λμ€ λ©μλhttps://dojang.io/mod/page/view.php?id=2378
λλ± κ΄κ³μΌλλ μμ!κ·Έ μ΄μΈμλ μμ±μ μΈμ€ν΄μ€λ₯Ό λ£λ ν¬ν¨ λ°©μμ μ¬μ©!νμμ μ¬λμ΄λ€ => λλ±κ΄κ³μ¬λ 리μ€νΈλ μ¬λμ κ°λλ€ => ν¬ν¨κ΄κ³!\[](https://images.velogλν .io/images/muchogusto/post/d0f9674b-
https://dojang.io/mod/page/view.php?id=2389
interatro == λ°λ³΅μκ°μ μ°¨λ‘λλ‘ κΊΌλΌ μ μλ κ°μ²΄νμ΄μ¬μμλ μ΄ν°λ μ΄ν°λ§ μμ±νκ³ νμν μμ μ΄ λμμ λ κ°μ λ§λλ λ°μ! (λ©λͺ¨λ¦¬λ₯Ό λ§μ΄ μ¬μ©νμ§ μμ μ±λ₯μ κ΅Ώ!)μ¦, λ°μ΄ν° μμ±μ λ€λ‘ 미루λ κ² => μ§μ° νκ°(lazy evaluation)Uni
λ³λμ ν΄λμ€ λ΄ ν¨μλ₯Ό μ΄μ©ν΄μ νμν ν΄λμ€μ κ°μ²΄λ₯Ό λ§λλ κ²!ν©ν 리λ κ°μ²΄λ₯Ό μμ±νλ κΈ°λ₯λ§ λ΄λΉ!μ± /κ°λ°μκ° μνλ νμ΄μ¬
μ₯κ³ νν° μ κ·ννμ
https://m.blog.naver.com/PostView.nhn?blogId=k220j&logNo=220840949692&proxyReferer=https:%2F%2Fwww.google.com%2F
ν ν΄λμ€μμ νλμ μΈμ€ν΄λ§ λ§λ€λλ‘ κ°μ νλ κ²!ν΄λμ€μμ \_\_call\_\_ 맀μ§λ©μλμμ νλμ μΈμ€ν΄μ€λ§ μμ±λλλ‘ κ°μ ν¨μΌλ‘ μ¨ "ν ν΄λμ€μμ νλμ μΈμ€ν΄μ€λ§ λ§λ€λλ‘" κ°μ ν μ μμhttps://dojang.io/mod/page/view.
https://docs.djangoproject.com/en/3.2/ref/forms/validation/
https://8percent.github.io/2017-05-31/django-timezone-problem/
https://docs.djangoproject.com/en/4.0/ref/templates/builtins/
call by value : κ°μ μν νΈμΆcall by reference : μ°Έμ‘°(μ£Όμ)μ μν νΈμΆκ°μ μν νΈμΆλ³μμ ν λΉ λ κ°λ§μ 볡μ¬ν΄μ ν¨μμ μΈμλ‘ λκΈ°κΈ°2λΌλ κ°μ΄ λ©λͺ¨λ¦¬ μμ 볡μ¬λμ΄ valueμ ν λΉaμ 2μ valueμ 2λ μλ‘ λ€λ₯Έ μμΉμ λ©λͺ¨
'@'λ‘ μμν¨μ(λ©μλ)λ₯Ό μ₯μνλ€κ³ ν΄μ μ΄λ° μ΄λ¦μ΄ λΆμμ (=μ₯μμ)μ΄λ€ ν¨μ/λ©μλλ₯Ό μ€ννκΈ° μ μ λ¨Όμ μ²λ¦¬λλ ν¨μμ½λ©λμ₯ (https://dojang.io/mod/page/view.php?id=2427)νμ΄μ¬ λ°μ½λ μ΄ν° (https://
PEP 8 β the Style Guide for Python Code (https://pep8.org/)PEP 257 -- Docstring Conventions (https://www.python.org/dev/peps/pep-0257/)
1. νμ΅ λͺ©ν 2. νμ΅ λ΄μ© 3. λλ μ
ν¨μ μ μΈν¨μ λ€μν μ¬μ©λ€μν λ°ν κ°args, ''\*'kawargsλλ€ν¨μ
https://nomadcoders.co/python-for-beginners/