"Albert-Jan Roskam" wrote
I tried updating the old values with new values of exactly the same
length (10 characters),
but that didn't work either
newLine = [ch for ch in string.letters[0:9]])
Error: line contains NULL byte
Id,NaamInstelling,Naam3,Straat,HuisNr,Postcode,Plaats,dummy
Th
, roads, a fresh water system, and public health, what have
the Romans ever done for us?
~~~~~~
--- On Wed, 10/20/10, Dave Angel wrote:
From: Dave Angel
Subject: Re: [Tutor] updating a Csv file
To: "Albert-Jan Roskam"
Cc: "Python Mailing List"
Dat
On 2:59 PM, Albert-Jan Roskam wrote:
Hi all,
How can I update a csv file? I've written the code below, but it does
not work ("Error: line contains NULL byte"). I've never tried opening a
file in read and write mode (r+) at the same time before, so I suspect
that this is the culprit. Should I
On Wed, 20 Oct 2010 08:05:06 pm Albert-Jan Roskam wrote:
> Hi all,
>
>
>
> How can I update a csv file? I've written the code below, but it does
> not work ("Error: line contains NULL byte").
Please copy and paste (DO NOT re-type, summarize, paraphrase or repeat
from memory) the ACTUAL exception,
Hi all,
How can I update a csv file? I've written the code below, but it does
not work ("Error: line contains NULL byte"). I've never tried opening a
file in read and write mode (r+) at the same time before, so I suspect
that this is the culprit. Should I instead just open one file, write to