How to output a complex List object to a file.

Chris Rebert clp2 at rebertia.com
Tue Jun 23 00:17:37 EDT 2009


On Mon, Jun 22, 2009 at 7:31 PM, bluefisher80<bluefisher80 at 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



More information about the Python-list mailing list