On 25/9/2013 06:38, J. Bagg wrote: > So it is just a random sequence of "junk". > > It will be a matter of finding the real start of the record (in this > case a %) and throwing the "junk" away.
Please join the list. Your present habit of starting a new thread for each of your messages is getting old. You still need to find the source of the "junk" if you want anything approaching reliability. The open() call you showed in one of the other four threads had a "append" mode. Is it possible that you're "creating" a file without deleting pre-existing junk? -- DaveA -- https://mail.python.org/mailman/listinfo/python-list