shell - Lightweight console/IDE for Python? -


i use ipython (or regular python shell) test python code snippets while coding, , it's been useful. 1 shortcoming of this, though, if want test multi-line segment of code, or want write multiple lines of code before running, isn't convenient have "line line". , going change of lines cumbersome because have re-type code comes after it.

i'm playing groovy right , find has excellent solution problem: groovy console. write code want, it's regular editor; , hit run ctrl+r (cmd+r since i'm on mac) , runs @ once. if want change (e.g. if there errors), that's easy -- change , ctrl+r again.

is there equivalent of available python? or have recommendations on way achieve similar behavior? create new file, save it, , python <filename>.py shell. that's many steps , cumbersome. eclipse may option, it's heavyweight. i'm looking lightweight can spin when want test , rid of quickly.

i'd interested hear ideas/suggestions!

thanks

you might give dreampie try. far can tell quick read of groovyconsole page linked to, dreampie features similar input area/output area division (they call "code box" , "history box"). code execute default cleared code box - groovyconsole apparently doesn't - can retrieve (ctrl+up), or change preference setting "leave code in code box after execution".


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -