[Tutor] IDLE Usage - was Interpreter Restarts

Dave Kuhlman dkuhlman at rexx.com
Sun Jul 22 19:57:53 CEST 2007


On Sun, Jul 22, 2007 at 10:39:51AM +0100, Alan Gauld wrote:
> 
> 
> OK, Personally I'd forget about a GUI, its not that big a win for 
> Python IMHO.
> 
> What I'd do instead is open two SSH sessions, in one of them I'd open 
> a
> vim session (or emacs if you prefer) to edit my code.  In the second 
> window
> open a python interactive session for testing stuff.  You can also use 
> Unix
> job control to background this session if you need to test the 
> scripts, or
> you can open a third SSH session with a Unix shell prompt. In practice
> that's how I do nearly all my serious Python programming on Windows
> - using 3 separate windows: vim, Pyhon and shell.

And, the screen program might give you a bit of convenience.

If you find yourself opening multiple sessions to the same
UNIX/Linux box, you might want to look into screen, which enables
you to create and switch between multiple sessions.  I'm a
command-line kind of person and I use screen heavily, even on my
local machine, where instead of opening multiple xterm (Eterm,
konsole, whatever) windows, I use screen create multiple sessions
in a single window.

For more on screen, do "man screen" and look here:

    http://en.wikipedia.org/wiki/GNU_Screen

Dave

-- 
Dave Kuhlman
http://www.rexx.com/~dkuhlman


More information about the Tutor mailing list