How do I compile and run a Python program?

Thanh Thảo

New member
How do I compile and run a Python program?
Answer
Answer for Windows
  1. first you must install python.
  2. then set path variable.
  3. after that write your python program and save.
  4. think there is a python program that name “hello.py”
  5. open cmd.exe.
  6. then goto the path that you saved your “hello.py” file,
  7. and then type python hello.py and press enter key.
16 сент. 2009 г.
 

Tìm kiếm

Back
Top