I'm using pythonWin. Yes, basically, restore the interactive session. I had done several imports, and wanted the clear them to see what would happen with others I planned on entering without having them affected by earlier ones.

Keyboard imports. Just entering "import Tkinter" at the >>> prompt.

ALAN GAULD wrote:
> how do I clear the keyboard imports?

I'm not sure what you mean by keyboard imports?

Do you mean how to restore an interactive session?
If so, then in IDLE you can use: Shell->Restart shell.

I don't know how to do that in any of the other
IDEs...

You can of course del() any name, including modules...

Alan G.




--
Signature.html
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
            
         Copper and its alloys have been found effective in hospital
         sinks, hand rails, beds, ... in significantly reducing 
         bacteria. Estimates are 1/20 people admitted to a hospital
         become infected, and 1/20 die from the infection.
                       -- NPR Science Friday, 01/16/2009 

                    Web Page: <www.speckledwithstars.net/>
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to