[EMAIL PROTECTED] schrieb:
> [...]
> Also Python can (writing and running a module, in-line):
>
> fNew =open("newModule.py",'w')
> lNew=['print 123\n','print 454\n','print 789\n']
> fNew.writelines(lNew)
> fNew.close()
> from newModule import *
> [...]
You don't even need a file for this.
Try: exec("print 123; print 456; print 789")
Bye,
Dennis
--
http://mail.python.org/mailman/listinfo/python-list
