PyDev Interactive Python Shell in Eclipse -


i've been using wing ide python programming , trying switch eclipse, pydev.

when run code in wing ide, after finishing execution console goes right interactive shell , can continue on testing, don't know how in eclipse. i'm not sure if describing problem i'll use example:

let's had simple source code looked (e.g. test.py):

print("hello") 

when run in wing ide clicking green arrow, console after execution:

python 2.7.5 (default, may 15 2013, 22:43:36) [msc v.1500 32 bit (intel)] type "help", "copyright", "credits" or "license" more information. [evaluate untitled-1.py] hello >>>> 

and can keep doing whatever on shell , know code (defined functions etc.). when same thing in eclipse, console this:

hello 

and have click "remove terminated launches" button go shell.

can done in eclipse?

what want use interactive console in pydev (not regular output when run).

to use do: ctrl+alt+enter.

note if you're in middle of debug session, can use debug session console interact program.

it can created ui in console view shown below:

[create pydev interactive console [1]


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -