I have created a new project in Eclipse, PyDev.
If I were in VS2010, I would mark a project as startup project, and whenever I click F5, it runs.
I want to mark one .py file to be my so called Main, and that each time I click run (F11), it will be the one to run, and not the current that is being edited.
Is it possible?
Go to
run -> run configurationsIn the menu on the right you should have
Python Runoption. Create new run configuration by double clicking.On the right you can select the project you want to run and it’s main module. The other tabs can be used to configure arguments, python interpreter used to run the project, etc..