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 templating system,
where most of the text is unmodified and you only set out the specific
areas where you want to insert logic.
EmPy is one:
http://www.alcyone.com/software/empy/
--
Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/
San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
--
http://mail.python.org/mailman/listinfo/python-list