In PythonWin, is there any way to bulk-delete all objects without using
"del object" for each, and without having to exit out of PythonWin?
I think you just want to modify the globals() dict:
['__builtins__', 'text', 'glob', 'pywin', 're', 'match', 'basename',
'__name__', 'line', 'foo', 'os', '__doc__', 'fn'].... if name != 'pywin' and name[:2] != '__':
.... del globals()[name]
....['__builtins__', 'pywin', '__name__', '__doc__']
Be careful though, I think there's a few things in there you might not
want to ``del`` (e.g. ``pywin``).
STeVe