011 are two ways to execute Python programs

Python implementation of the program in two ways

1. Interactive (jupyter)

优点:运行一句执行一句
缺点:关闭即消失

2. Command line (pycharm)

优点:一直保存
缺点:全部写完才能调试bug
虽然txt文件可以运行,但尽量用py文件

Guess you like

Origin www.cnblogs.com/xichenHome/p/11265161.html