[Tutor] Alternative File I/O for Tuples (fwd)
Kent Johnson
kent37 at tds.net
Sun Jun 26 22:32:08 CEST 2005
> From: Don Parris <webdev at matheteuo.org>
> To: Danny Yoo <dyoo at hkn.eecs.berkeley.edu>
> Subject: Re: [Tutor] Alternative File I/O for Tuples
>
> I guess I'm asking two closely-related questions:
> (1) how to format the file so it can be readable, and
If you like the recipe I posted, this could be as simple as
mbrPhone = open('mbrPhone.txt', 'w')
mbrPhone.write(indent(...appropriate args to indent...))
mbrPhone.close()
Kent
More information about the Tutor
mailing list