How do I read and write to the same CSV file
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Mon Sep 10 19:02:52 EDT 2007
On Mon, 10 Sep 2007 15:01:32 +0000, Steven D'Aprano wrote:
> But if you insist... you might be able to use cf_stream.seek() to move
> to the current position in the file, then write the bytes you want. How
> do you find the current position? Black magic or voodoo might help.
<slaps head>
Well, that'll learn me to post at ungodly hours of the morning. Getting
the _current_ position is easy, what I meant to write was CORRECT
position. Twice.
How embarrassment.
--
Steven.
More information about the Python-list
mailing list