Eclipse IDE question

Fabio Zadrozny fabiofz at gmail.com
Sun Jun 25 19:50:46 EDT 2006


On 6/25/06, Markus Wankus <markus_wankus at hotmail.com> wrote:
>
> On Sun, 25 Jun 2006 13:21:32 -0400, seerhut <seerhut at 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).
>

Ok, there is another way of doing it is just pressing F9 if using pydev (
http://fabioz.com/pydev/manual_101_root.html contains a complete
step-by-step on how to configure pydev and start using it).

Cheers,

Fabio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060625/8c5a7018/attachment.html>


More information about the Python-list mailing list