File record separators.
HMS Surprise
john at datavoiceint.com
Tue May 15 13:24:26 EDT 2007
Thanks folks. Was unaware of enumerate , still have a lot to learn
about python.
Sorry for the poorly phrased request, but you gathered the gist of it.
My wonderment is how to write the following 2 lines and make sure they
are saved as separate records or lines so that I pull in only one at a
time with readline(?).
['a', 'b'], ['c','d']]
[['a', 'b'], ['c','d'], ['e','f']]
Would like to use pickle but it is apparently unavailable in the
package I am using, Jython 2.2.
More information about the Python-list
mailing list