[Tutor] IDLE question (original) (raw)
Dick Moores rdm at rcblue.com
Fri Jul 9 16:13:22 CEST 2004
- Previous message: [Tutor] IDLE question
- Next message: [Tutor] IDLE question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steve wrote at 05:47 7/9/2004:
So, to do what you asked for, you can simply do something like:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> for i in globals().keys(): ... if i not in ['builtins', 'doc', 'file', 'name']: ... del globals()[i]
Thanks very much, Steve. That works fine, even though it's more typing than I was hoping for..
Dick
- Previous message: [Tutor] IDLE question
- Next message: [Tutor] IDLE question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]