Cleanup?
Moshe Zadka
moshez at math.huji.ac.il
Fri Mar 31 02:19:16 EST 2000
On Thu, 30 Mar 2000, Arinté wrote:
> I want to be able to run sets of python scripts, but how can I cleanup all
> the variables (globals) from the last one run?
Run them with "exec <script> in {}"
Then all the global variables will be in a nameless dictionary.
--
Moshe Zadka <mzadka at geocities.com>.
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com
More information about the Python-list
mailing list