I cannot to choose python files to run script
hi, I am a newbee, and set new project and created a couple of python files. Before running a python file, I am expecting to be able to choose one of them. However, I can choose only one. Then, in order to select other files, I need to open configuration window every time.
Thus, I guess my setting is something wrong. How can I fix this issue?


请先登录再写评论。
Hello,
Each time you run a program, it creates a Run Configuration that contains the information needed to setup running the program. PyCharm can have multiple run configurations that you choose from the toolbar, just to the left of the green play button.
If you are editing a different file and want to run it, the simplest thing to do is right click in the editor and choose Run `filename'. This will create a run configuration for that file and run it. It will also remember this as the last-run Run Configuration. To go back to the previous run, either do the right-click thing again, or switch the active run configuration in the toolbar dropdown.
[Run/Debug Configuration](https://www.jetbrains.com/help/pycharm/creating-and-editing-run-debug-configurations.html)
Let me know if you have any questions.
Thanks for a reply. Yeah, now I understood that I must execute each python files at first , in order to register them into toolbar's 'run' icon. My friend also spent a hour to figure out why mine did not show up multi python files on toolbar run.
Please add a floating help comment over the run icon to explain what we discuss, or add all files automatically into pull down menu without initial run, for next version.
Best regards,