how to change a script while it is running
Do Re Mi chel La Si Do
enleverlesO.OmcO at OmclaveauO.com
Thu Jul 7 12:25:17 EDT 2005
Hi !
Try :
def ff(a):
print a*2
ff(111)
exec('''def ff(a):
print a*3
''',globals(),globals())
ff(111)
@-salutations
Michel Claveau
More information about the Python-list
mailing list