SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me.
You need to run it twice once for globals followed by locals
for name in dir(): if not name.startswith('_'): del globals()[name] for name in dir(): if not name.startswith('_'): del locals()[name]