469,950 Members | 2,313 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

Eclipse IDE question

I am trying to use eclipse for python development. Is it possible to
run a python script without having to name/setup a configuration? Can
eclipse be set up so that "run" loads the code into the interpreter and
goes? I don't want to create a new run config every time I want to run
a script.

Jun 25 '06 #1
2 1336
kilnhead wrote:
I am trying to use eclipse for python development. Is it possible to
run a python script without having to name/setup a configuration? Can
eclipse be set up so that "run" loads the code into the interpreter and
goes? I don't want to create a new run config every time I want to run
a script.

try pydev , a plugin for eclipse
Jun 25 '06 #2
On Sun, 25 Jun 2006 13:21:32 -0400, seerhut <se*****@gmail.com> wrote:
kilnhead wrote:
I am trying to use eclipse for python development. Is it possible to
run a python script without having to name/setup a configuration? Can
eclipse be set up so that "run" loads the code into the interpreter and
goes? I don't want to create a new run config every time I want to run
a script.

try pydev , a plugin for eclipse

I'm fairly certain the OP is already doing that...

As far as I know (I haven't used pydev in awhile) you need a launch
configuration for each script. I do know you can run a script easily and
have the launch created for you just by right-clicking the file and saying
Run As > Python (I think). Here is what the FAQ says:

How do I run a module from within eclipse using PyDev (either Python or
Jython)?

To do that, the easiest way is going to the Run menu (Run->Run As->Python
or Jython). If it is not available in your current eclipse perspective,
you can enable it by going to window->customize perspective->commands and
checking the "Lauch" item (in this way, you can go only with the keyboard).

Another way to run a module is right clicking the module in the navigator
and choosing python->run (when a .py file is selected).

Markus.
Jun 25 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by junee | last post: by
14 posts views Thread by Camellia | last post: by
6 posts views Thread by Osiris | last post: by
9 posts views Thread by king kikapu | last post: by
4 posts views Thread by king kikapu | last post: by
3 posts views Thread by ups_genius | last post: by
15 posts views Thread by Ramon F Herrera | last post: by
reply views Thread by Pesho318i | last post: by
1 post views Thread by Harris Kosmidhs | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.