On Mon, Jun 22, 2009 at 7:31 PM, bluefisher80<bluefishe...@gmail.com> wrote: > Hi > > Thanks for you tip, > > I am generating some code for another python application, > > so is there a better way for code generating? Actually i just need to > generate some list objects to define EDI syntax using python.
Well, I would say avoid having to generate code in the first place, but if it's unavoidable, then that's essentially how you'd do it. Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list