2022年 11月 3日

python交互模式

两种模式:

1.python交互模式

2.命令行脚本

一、python交互模式

运行dos命令

 输入python出现“>>>”,表示成功

 

二、命令行脚本

在PyCharm写好语句

进入路径并运行python脚本