简体   繁体   中英

How to set a project as startup project in PyCharm

I have two projects in PyCharm , which are called A and B ...

Each one has several files in addition to a main file, ie a_main.py and b_main.py

How can I switch between two projects for choosing one to be run? In other words, how could it be possible to select the start up project?

Did you work with Visual Studio for some time? the concept of start up project does not exist in pycharm.

When you open a project, you can add more projects on the same window, and you can run each .py file whenever you like.

Use alt+shift+f10 to choose the file you want to run, or shift+f10 to rerun the latest file you ran.

for more information check this out .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM