Skip to content

Latest commit

ย 

History

History
executable file
ยท
90 lines (63 loc) ยท 1.7 KB

File metadata and controls

executable file
ยท
90 lines (63 loc) ยท 1.7 KB

Python 101

Jupyter notebook ํ™˜๊ฒฝ์„ค์ •

0) Jupyter notebook ์„ค์น˜

$ pip install jupyter

1) ์ถ”๊ฐ€ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ ์„ค์น˜

ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์€ ๋งํฌ๋ฅผ ํ†ตํ•ด ํ™•์ธ ๊ฐ€๋Šฅํ•˜๋‹ค.

์ผ๋ถ€ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์€ pip ์ถ”๊ฐ€ ์„ค์น˜ ํ•ด์•ผํ•˜๋Š” ๊ฒฝ์šฐ๋„ ์žˆ๋‹ค.

(1) pip๋ฅผ ํ†ตํ•œ ํŒจํ‚ค์ง€ ์„ค์น˜

$ pip install jupyter_contrib_nbextensions

(2) JS, CSS ํŒŒ์ผ ์„ค์น˜

$ jupyter contrib nbextension install --user

(3) ํ™•์žฅํ”„๋กœ๊ทธ๋žจ ๋ชฉ๋ก ํ™•์ธ

http://localhost:8888/nbextensions

  • ์‚ฌ์šฉ์ค‘์ธ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ
    • Table of Contents (ํ•„์ˆ˜)

๋ชฉ์ฐจ

  1. Intro to Python

    1. ํŒŒ์ด์ฌ ๊ธฐ์ดˆ
    • ์‹๋ณ„์ž
    • ๊ธฐ์ดˆ ๋ฌธ๋ฒ•
    1. ๋ณ€์ˆ˜ ๋ฐ ์ž๋ฃŒํ˜•
    • ์ˆ˜์น˜ํ˜•(numbers)
    • Bool
    • None
    • ๋ฌธ์žํ˜•(string)
    1. ์—ฐ์‚ฐ์ž
    • ์‚ฐ์ˆ  ์—ฐ์‚ฐ์ž
    • ๋น„๊ต ์—ฐ์‚ฐ์ž
    • ๋…ผ๋ฆฌ ์—ฐ์‚ฐ์ž
    • ๋ณตํ•ฉ ์—ฐ์‚ฐ์ž
    • ๊ธฐํƒ€ ์—ฐ์‚ฐ์ž
    • ์—ฐ์‚ฐ์ž ์šฐ์„ ์ˆœ์œ„
    1. ๊ธฐ์ดˆ ํ˜•๋ณ€ํ™˜
    2. ์‹œํ€€์Šค ์ž๋ฃŒํ˜•
    • ๋ฆฌ์ŠคํŠธ
    • ํŠœํ”Œ
    • ๋ ˆ์ธ์ง€
    1. set, dictionary
      • set
      • dictionary
  2. Control of Flow

    1. ์กฐ๊ฑด๋ฌธ
    2. ๋ฐ˜๋ณต๋ฌธ
    3. ํ•จ์ˆ˜
  3. Data Structures

    1. Lists
    2. Tuples/Sequences
    3. Sets
    4. Dictionaries
  4. Control of Flow with Data Structures

  5. Error and Exceptions

  6. Classes

License

Python ๋ผ์ด์„ ์Šค ์ •์ฑ…์„ ๋”ฐ๋ผ GPL-3.0์„ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค.

๋ณธ ๊ฐ•์˜์ž๋ฃŒ๋Š” Python Tutorial๋ฅผ ์ฐธ์กฐํ•˜์—ฌ ๋งŒ๋“ค์–ด์กŒ์Šต๋‹ˆ๋‹ค.