If the script is a simple one with no functions, I can easily execute it using:
exec object.script
But if the object script is a bit more complicated, such as the example below, my approach does not work:
def main():
hello1()
hello2()def hello1():
print 'hello1'def hello2():
print 'hello2'
--
http://mail.python.org/mailman/listinfo/python-list
