By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,592 Members | 1,977 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,592 IT Pros & Developers. It's quick & easy.

Python IDEs with F5 or hotkey shell interaction

P: n/a
mmm
I am looking for advice on Python Editors and IDEs

I have read other posts and threads on the subject and my two
questions at this time are mainly about the IDLE-like F5-run
facilities. While I am fairly happy using IDLE, the debugger is
unintuitive to me and I wanted a project manager and a better variable/
class browser and also the potential to edit/run other languages such
as R and Tex/Latex. Windows and LINUX compatibility is desired too.

I found numerous editor candidates from reading posts to this Python
users group list and also documents such as http://wiki.python.org/moin/PythonEditors
but few if any alternatives seem to have all of the ‘interactive’
power of IDLE—- not only a run program in a python shell hotkey but a
persistent, after-a-run memory state can be accessed for interactive
coding and exploration-- i.e. how IDLE works !

*** My first questions is what other editor/IDE have IDLE-like
interactive features. Or to put it another way, is my appraisal below
of the editors & IDEs I tried right (note some where looked at as much
as a year ago).

Python specific
IDLE F5 run & Full shell interaction
PythonWin F5 run & Full shell interaction, MS Windows only
PyScripter F9 run & shell interaction,
but script created variables are not persistent
(???!)
PyPE F5 run, but not an interactive shell
DrPython F5 run, but not an interactive shell in MS Windows (maybe
in Linux)
SPE (Stani) Could not get it to run in MS Windows (???!)

PyScripter, PyPe and drPython all had nice features but interaction
quirks.

My second question is based on a belief that I should move to a more
general IDE or editor to get LINUX compatibility and the ability to
also edit R and LaTex programs. I have explored these
Vim
Cream/Vim
UliPad
SciTe
Jext
Editra
Komodo Editor
But none are close to being as interactive friendly as IDLE.

I might look at
Eclypse with pydev
Jedit
And these commercial/professional IDEs
Wing
Komodo IDE
Zeus

But before doing so I wanted to know form experienced users:

** How hard is it to configure any of the general editors/IDEs to run
a Python shell using a hotkey (such as IDLEs F5) and whether any can
be set up for full interactivity.

I understand and appreciate the difficulties to get full IDLE-like
interactivity, but what comes closest?
Sep 2 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Tue, Sep 2, 2008 at 4:01 PM, mmm <md******@gmail.comwrote:
>
I might look at
Eclypse with pydev
Jedit
And these commercial/professional IDEs
Wing
Komodo IDE
Zeus

But before doing so I wanted to know form experienced users:

** How hard is it to configure any of the general editors/IDEs to run
a Python shell using a hotkey (such as IDLEs F5) and whether any can
be set up for full interactivity.

I understand and appreciate the difficulties to get full IDLE-like
interactivity, but what comes closest?
--
http://mail.python.org/mailman/listinfo/python-list
I do not think I qualify for experienced users; I've used pydev for
many years, and I'm quite comfortable with it. It is an eclipse based
IDE, therefore you've some of its niceties and some of its drawbacks.

Regards
Marco

--
Marco Bizzarri
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/
Sep 3 '08 #2

P: n/a
On Sep 2, 7:01*am, mmm <mdbol...@gmail.comwrote:
I am looking for advice on Python Editors and IDEs

I have read other posts and threads on the subject and my two
questions at this time are mainly about the IDLE-like F5-run
facilities. *While I am fairly happy using IDLE, the debugger is
unintuitive to me and I wanted a project manager and a better variable/
class browser and also the potential to edit/run other languages such
as R and Tex/Latex. Windows and LINUX compatibility is desired too.

I found numerous editor candidates from reading posts to this Python
users group list *and also documents such as *http://wiki.python.org/moin/PythonEditors
but few if any alternatives seem to have all of the *‘interactive’
power of IDLE—- not only a run program in a python shell hotkey but a
persistent, after-a-run memory state can be accessed for interactive
coding and exploration-- *i.e. how IDLE works !

*** My first questions is what other editor/IDE have IDLE-like
interactive features. *Or to put it another way, is my appraisal below
of the editors & IDEs I tried right (note some where looked at as much
as a year ago).

Python specific
*IDLE * * * *F5 run & Full shell interaction
*PythonWin * F5 run & Full shell interaction, MS Windows only
*PyScripter *F9 run & shell interaction,
* * * * * * * * * * *but script created variables are not persistent
(???!)
*PyPE* * * *F5 run, but not an interactive shell
*DrPython * *F5 run, but not an interactive shell in MS Windows (maybe
in Linux)
*SPE (Stani) Could not get it to run in MS Windows (???!)

PyScripter,PyPeand drPython all had nice features but interaction
quirks.

My second question is based on a belief that I should move to a more
general IDE or editor to get *LINUX compatibility and the ability to
also edit R and LaTex programs. *I have explored these
* *Vim
* *Cream/Vim
* *UliPad
* *SciTe
* *Jext
* *Editra
* *Komodo Editor
But none are close to being as interactive friendly as IDLE.

I might look at
* Eclypse with pydev
* Jedit
And these commercial/professional IDEs
* Wing
* Komodo IDE
* Zeus

But before doing so I wanted to know form experienced users:

** How hard is it to configure any of the general editors/IDEs to run
a Python shell using a hotkey (such as IDLEs F5) and whether any can
be set up for full interactivity.

I understand and appreciate *the difficulties to get full IDLE-like
interactivity, but what comes closest?
I know I'm a little late on this (I only hopped in to check on some
other older threads), but if you are careful, PyPE can allow you to
run your script in an interactive shell. In particular, if you select
the content of the code you would like to run (changing any if
__name__ == '__main__' into '__console__' references, then use File ->
"Run Selected Code", it will select a Python Shell (if one exists) or
create a new one, and run your code in that shell. If you are willing
to muck about in the source code, it shouldn't be too difficult to add
a '-i' to the "Run Current File" command (which I may add as an option
in the next version of PyPE).

- Josiah

Sep 15 '08 #3

P: n/a
hello Almar,

Almar Klein wrote:
>
...
but few if any alternatives seem to have all of the 'interactive'
power of IDLE—- not only a run program in a python shell hotkey but a
persistent, after-a-run memory state can be accessed for interactive
coding and exploration-- i.e. how IDLE works !
I felt the same. Coming from Matlab, I missed the interactive behaviour.
I found IPython with a proper editor (I really liked PyPE) a nice
solution.

Still, I found it awkward having to use two programs and not having code
completion in my editor (I mean the editor not knowing what names are
present in my python session.)

Therefore, I started creating an editor with an interactive shell in
it in which
you can run (parts of) your code and have a persisten session. It's not
finished yet, but I'm quite happy with the result so far. It starts
python in a
subprocess in much the same way PyPE does. I actually "stole" code from
PyPE as a base for multiple things (thanks Josiah :) ).
Any change we could see some code already ?
I'm working on something similar,
bored of the bugs in my current IDE.
Here are my first notes:
http://oase.uci.kun.nl/~mientki/data.../pw_debug.html
It should become a very-simple-very-high-level IDE,
like Matlab, but then better ;-)

cheers,
Stef
>
Almar
------------------------------------------------------------------------

--
http://mail.python.org/mailman/listinfo/python-list
Sep 15 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.