Crutcher wrote:
>>Is it possible to do something like that?
> 
> 
> No, you can't change the binding of variables in your calling space.
> 

Unless your calling space is global

py> def doit():
...   globals()['wilma'] = 'pebbles'
...
py> doit()
py> wilma
'pebbles'

But that would be crazy.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to