íì´ì¬ ììµì¶
í
This tutorial is designed for programmers that are new to the Python language, not beginners who are new to programming.
íì´ì¬ì ë°°ì°ê¸° ì¬ì°ë©´ìë ê°ë ¥í íë¡ê·¸ëë° ì¸ì´ì ëë¤. í¨ì¨ì ì¸ ìë£ êµ¬ì¡°ì ê°ì²´ ì§í¥ íë¡ê·¸ëë°ì ëí ê°ë¨íê³ ë í¨ê³¼ì ì¸ ì ê·¼ë²ì ì ê³µí©ëë¤. íì´ì¬ì ì°ìí 문ë²ê³¼ ëì íì´í(typing)ì ì§ìíë ì¸í°íë¦¬í° ì¸ì´ë¡ì, ëë¶ë¶ íë«í¼ê³¼ ë¤ìí 문ì ìììì ì¤í¬ë¦½í¸ ìì±ê³¼ ë¹ ë¥¸ ìì© íë¡ê·¸ë¨ ê°ë°ì ì´ìì ì¸ íê²½ì ì ê³µí©ëë¤.
The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python website, https://www.python.org/, and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation.
íì´ì¬ ì¸í°í리í°ìë C ë C++ (ëë Cìì í¸ì¶ ê°ë¥í ë¤ë¥¸ ì¸ì´ë¤)ë¡ êµ¬íë ì í¨ìë ìë£ êµ¬ì¡°ë¥¼ ì½ê² ì¶ê°í ì ììµëë¤. íì´ì¬ì ì¬ì©ì ë§ì¶¤íê° ê°ë¥í ìì© íë¡ê·¸ë¨ì ìí íì¥ ì¸ì´ë¡ë ì í©í©ëë¤.
This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. Be aware that it expects you to have a basic understanding of programming in general. It helps to have a Python interpreter handy for hands-on experience, but all examples are self-contained, so the tutorial can be read off-line as well.
íì¤ ê°ì²´ì 모ëì ëí ì¤ëª ì íì´ì¬ íì¤ ë¼ì´ë¸ë¬ë¦¬ ìì íì¸íì¸ì. íì´ì¬ ì¸ì´ ë í¼ë°ì¤ ë ì¸ì´ì ëí ì¢ ë íìì ì¸ ì ì를 ì ê³µí©ëë¤. C ë C++ ë¡ íì¥ì ìì±íë ¤ë©´ íì´ì¬ ì¸í°íë¦¬í° íì¥ ë° ë´ì¥ ì Python/C API reference manual 를 참조íì¸ì. ëí íì´ì¬ì ê¹ì´ ìê² ë¤ë£¬ ì± ë¤ë ë§ìµëë¤.
ì´ ììµìë í¬ê´ì ì´ë ¤ê³ ìëíì§ ììµëë¤. 모ë 기ë¥ì ë¤ë£¨ì§ë ìì¼ë©°, ì´ë ì주 ì¬ì©ëë 기ë¥ì ìì´ìë ë§ì°¬ê°ì§ ì ëë¤. ëì íì´ì¬ì ê°ì¥ 주목í ë§í 기ë¥ë¤ì ìê°íì¬ ì¸ì´ì ë§ê³¼ ì¤íì¼ì ì ëë ì ìëë¡ íê³ ììµëë¤. ì´ íìµì를 ì½ì íìë íì´ì¬ 모ëê³¼ íë¡ê·¸ë¨ì ì½ê³ ì¸ ì ìì¼ë©°, íì´ì¬ íì¤ ë¼ì´ë¸ë¬ë¦¬ ì 기ì ë ë¤ìí íì´ì¬ ë¼ì´ë¸ë¬ë¦¬ 모ëì ëí´ ë°°ì¸ ì¤ë¹ê° ë ê²ì ëë¤.
ì©ì´ì§ ëí ì´í´ë³¼ ê°ì¹ê° ììµëë¤.
- 1. ì ë§ ëì°ê¸°
- 2. íì´ì¬ ì¸í°íë¦¬í° ì¬ì©í기
- 3. íì´ì¬ì ê°ëµí ìê°
- 4. 기í ì ì´ íë¦ ë구
- 4.1.
if문 - 4.2.
for문 - 4.3.
range()í¨ì - 4.4.
breakìcontinue문 - 4.5. 루íì
elseì - 4.6.
pass문 - 4.7.
match문 - 4.8. í¨ì ì ìí기
- 4.9. í¨ì ì ì ë 보기
- 4.10. ë§ê°ê·¹: ì½ë© ì¤íì¼
- 4.1.
- 5. ìë£ êµ¬ì¡°
- 6. 모ë
- 7. ì ë ¥ê³¼ ì¶ë ¥
- 8. ìë¬ì ìì¸
- 9. í´ëì¤
- 10. Brief tour of the standard library
- 10.1. Operating system interface
- 10.2. File wildcards
- 10.3. Command-line arguments
- 10.4. Error output redirection and program termination
- 10.5. String pattern matching
- 10.6. ìí
- 10.7. Internet access
- 10.8. Dates and times
- 10.9. Data compression
- 10.10. Performance measurement
- 10.11. Quality control
- 10.12. Batteries included
- 11. íì¤ ë¼ì´ë¸ë¬ë¦¬ ëë¬ë³´ê¸° â 2ë¶
- 12. ê°ì íê²½ ë° í¨í¤ì§
- 13. ì´ì ë íì§?
- 14. ëíí ì ë ¥ í¸ì§ ë° íì¤í 리 ì¹í
- 15. ë¶ë ììì ì°ì : 문ì ì ë° íê³
- 16. ë¶ë¡