Since it wasn't entirely clear exactly what you're looking for in your original post, I would also like to mention...
Roger Serwy has recently written an IDLE extension to clear the shell window's contents (without affecting the state of the underlying Python process). This is different from restarting the shell, which is what Jason was referring to, which actually starts a new Python process in which following commands will be run (but without clearing the shell window). See: http://bugs.python.org/issue6143 - Tal Einat On Fri, Jun 12, 2009 at 6:31 AM, Jason Gervich <gerv...@sbcglobal.net>wrote: > To get the Shell menu in Ubuntu, open a terminal and at the command line > prompt type "idle". The IDLE shell will appear with the Shell menu in the > menu bar. Click Shell-->Restart Shell. This only works if no other instances > of the Python Shell are running. If you want to run more that one instance > on the same machine or network, start IDLE as "idle -n". You can run > multiple versions but you won't have the Shell/Restart menu. > > This from the Python team: > > Running IDLE from the Applications menu under Ubuntu will not have the > Shell menu. If you bring up a terminal and enter "idle", you will have > the Shell menu. > > IDLE, when selected from the Application menu, is being run with the > "-n" command line by default in Ubuntu. You can remove this option by > editing the menu item for IDLE. > > ---------- > nosy: +serwy > > Hope this helps, > > Jason Gervich > > > _______________________________________________ > IDLE-dev mailing list > IDLE-dev@python.org > http://mail.python.org/mailman/listinfo/idle-dev > >
_______________________________________________ IDLE-dev mailing list IDLE-dev@python.org http://mail.python.org/mailman/listinfo/idle-dev