A different kind of interface

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Thu Jan 22 11:04:12 CET 2009


bearophileHUGS at lycos.com a écrit :
> I use the Python shell daily, plus of course normal editors to edit
> python scripts. They both are very useful for different purposes. But
> the default interactive shell isn't much handy if you want to modify
> the past code to run it again, or you want to embed a bit of text in
> the code, or if you want to produce something a bit more clean that
> you can save, or just if you want to edit and debug 7-lines long
> programs.
> 
> I have tried IPython, but I have never appreciated it too much, maybe
> because it requires me to remember too many things (and because on Win
> it's probably a little less handy). Probably I need something closer
> to an editor and less close to a shell.

emacs python-mode is a very powerful combo. Write your code in a buffer, 
send it for evaluation to another buffer running a Python shell, 
interact with it, switch back to the edit buffer, change your code, 
lather, rinse, repeat.






More information about the Python-list mailing list