On May 2, 10:40 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > mcse jung wrote: > > Here is asample program that writes a program and then executes it. > > Do you knowof a much simpler way of writing a program that writes a program? > > I'm not quite sure what you are trying to achieve here, but I bet there is a > simpler way to do it than by generating a script. You might want to look into > functions. > > http://docs.python.org/tut/node6.html#SECTION006600000000000000000
Seriously, this looks like a DailyWTF entry. George -- http://mail.python.org/mailman/listinfo/python-list