Johnny Lin wrote:
> Hi!
>
> Is there a way to automate the unbinding of multiple variables?  Say
I
> have a list of the names of all variables in the current scope via
> dir().  Is there a command using del or something like that that will
> iterate the list and unbind each of the variables?
Yes. It's called "return".

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to