Hi all
what i'm trying to do is this:
.... return None
....
.... print "called bar"
....
.... foo = bar
....
called bar
This piece of code is not working and even trying with
.... a = b
....
isn't working. How can I achieve my goal?
Thanks for your help! :)
--
Stefano Esposito <stefano.esposi to87@gmail.com>
what i'm trying to do is this:
>>>def foo ():
....
>>>def bar ():
....
>>>def assigner ():
....
>>>assigner()
>>>foo()
>>>foo()
>>>
>>>def assigner (a, b):
....
>>>assigner(foo , bar)
>>>foo()
>>>foo()
Thanks for your help! :)
--
Stefano Esposito <stefano.esposi to87@gmail.com>
Comment