Re: Re: Re: How to output a complex List object to a file.

2009-06-22 Thread bluefisher80
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. 2009-06-23 bluefisher80 发件人: Chris Rebert 发送时间: 2009-06-23 09:55

Re: Re: How to output a complex List object to a file.

2009-06-22 Thread bluefisher80
Actually I think i am just looking for print >> myFile.py, myListObj 2009-06-23 bluefisher80 发件人: J. Cliff Dyer 发送时间: 2009-06-22 22:17:12 收件人: Jim Qiu 抄送: python-list 主题: Re: How to output a complex List object to a file. Have you looked at the JSON module? On Mon, 2009

Re: Re: How to output a complex List object to a file.

2009-06-22 Thread bluefisher80
Let me get my question more clear, I want like the "structure" object printed into another python source file, which i will use in other program. The pickled format or even JSONed format does not fullfil my requirement, does it? Do i make it clear, I still need your guides. Jim Detail ste