class 1-1 python开发环境配置

集成开发环境(IDE)——IDLE

1.Python有2种运行方式

(1)命令行-交互式

<1.>在命令行输入 Python

<2>在命令行输入ipython

(2)文件式

<1>启用IDLE

<2>通过IDLE新建hello.py,命令行运行python hello.py或者IDLE选择Run

3.在新建的pycharm中配置与anaconda交互式编译

在JetBrains PyCharm中的编译器interpreter中选择与anaconda的python.exe中创建

 如果在显示编译器有问题,在file—>setting—>interperter中进行添加安装包

如果设置交互式:点击python.console

原文地址:https://www.cnblogs.com/Mack-Yang/p/9733514.html