目录
Run Python Using a Run Configuration
1 How to run you code in PyCharm.
2 Temporary Run Configurations
3 Configurations From Project Templates
4 Permanent Run Configurations
Run Python Using a Run Configuration
使用运行配置运行Python
1 How to run you code in PyCharm.
1 如何在PyCharm中运行代码
In this step, we are going to talk about Run Configurations and how PyCharm helps you to run your Python code.
在这一步中,我们将讨论运行Python以及PyCharm如何帮助您运行Python代码。
2 Temporary Run Configurations
2 临时运行
First off, let’s talk about temporary Run Configurations. If you haven't run your pure Python script yet, PyCharm will give you a drop-down that says Add Configuration. This means that PyCharm doesn’t know how to run this script yet.
首先,让我们来谈谈临时运行。如果您还没有运行纯Python脚本,PyCharm将给予一个下拉菜单,显示“添加配置”。这意味着PyCharm还不知道如何运行这个脚本。
To run your script, you can right-click anywhere inside the editor and click Run script name. PyCharm will create a Run Configuration, run the script, and display the output inside the Run tool window. The Run tool window is useful to see your output, as well as more