Search

Python ์„ค์น˜

Python ์„ค์น˜

1.
๋‹ค์šด๋กœ๋“œ https://www.python.org/downloads/
2.
์„ค์น˜
3.
์„ค์น˜ ํ™•์ธ
4.
ํŒŒ์ด์ฌ ์‹คํ–‰

๋‹ค์šด๋กœ๋“œ

์„ค์น˜

์„ค์น˜ ํ™•์ธ

1.
๋ช…๋ น ํ”„๋กฌํ”„ํŠธ (CMD, ํ„ฐ๋ฏธ๋„)
2.
PYTHON โ€”version ์ž…๋ ฅ
3.
๋ฒ„์ „ ์ถœ๋ ฅ๋˜๋ฉด, ์„ค์น˜ ์™„๋ฃŒ!
python --version
Shell
๋ณต์‚ฌ

ํŒŒ์ด์ฌ ์‹คํ–‰

test.py

print('Hello Python!')
Python
๋ณต์‚ฌ

์‹คํ–‰ (CMD)

python test.py
Shell
๋ณต์‚ฌ

๊ด€๋ จ ํŽ˜์ด์ง€