3.1.Hello Python
要寫一段簡單可執行的code有三種作法
1.Console
2.Execute from script file (module)
3.IPython notebook
1.Console:
Open console and type
check print message:
Type exit() to exit from python environment
2.Execute from script file (module):
write the following code and save file as *.py
go to the folder which contained that script file, and type file name assumed that you have set Python path to system environment.
3.IPython notebook
Last updated