Skip to content Skip to sidebar Skip to footer

Is There Such A Thing As Startup File In Pydev Under Eclipse?

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

Solution 1:

Go to run -> run configurations

In the menu on the right you should have Python Run option. 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..

Solution 2:

Thanks to @soulcheck, I have found the problem. It seems that the problem is that Eclipse 3 tries to launch current file instead of the main.

Here is the solution: Whats the shortcut to Debug in PyDev using Eclipse

Post a Comment for "Is There Such A Thing As Startup File In Pydev Under Eclipse?"