This should be pretty basic, but I can't find anything on it, so ... In python, if I want to just clear out my whole session and start all over without shutting down and starting over, how do I do it? I want to delete all objects, class defs, function defs, etc. A couple of things I have tried that don't work are
>>> del(dir())
and
>>> del(dir()[:])
I used to know this, and it's something like this, but I can't remember the command. I am sure this is dangerous. I promise I will use it only for good.