Re: Do you know of a much simpler way of writing a program that writes a program?

2008-05-03 Thread Aahz
In article <[EMAIL PROTECTED]>, Jeff <[EMAIL PROTECTED]> wrote: > >Use lisp? :-))) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ Help a hearing-impaired person: http://rule6.info/hearing.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Do you know of a much simpler way of writing a program that writes a program?

2008-05-02 Thread Jeff
Use lisp? -- http://mail.python.org/mailman/listinfo/python-list

Re: Do you know of a much simpler way of writing a program that writes a program?

2008-05-02 Thread George Sakkis
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

Re: Do you know of a much simpler way of writing a program that writes a program?

2008-05-02 Thread Erik Max Francis
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? It looks like you have a program which is more printed text than program logic. In which case, the usual solution is to use a tem

Re: Do you know of a much simpler way of writing a program that writes a program?

2008-05-02 Thread Stefan Behnel
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

Re: Do you know of a much simpler way of writing a program that writes a program?

2008-05-02 Thread Nicola Musatti
On May 2, 3:50 pm, mcse jung <[EMAIL PROTECTED]> 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? Use a templating engine, such as Cheetah: http://www.cheetahtemplate.org/ Cheers, Nicola Mus

Do you know of a much simpler way of writing a program that writes a program?

2008-05-02 Thread mcse jung
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? """ - Name:_writePythonCode.py Purpose: This script writes Pyt