Eclipse IDE question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kilnhead

    #1

    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.

  • seerhut

    #2
    Re: Eclipse IDE question

    kilnhead wrote:[color=blue]
    > 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.
    >[/color]
    try pydev , a plugin for eclipse

    Comment

    • Markus Wankus

      #3
      Re: Eclipse IDE question

      On Sun, 25 Jun 2006 13:21:32 -0400, seerhut <seerhut@gmail. com> wrote:
      [color=blue]
      > kilnhead wrote:[color=green]
      >> 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.
      >>[/color]
      > try pydev , a plugin for eclipse[/color]


      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.

      Comment

      Working...