bbxx789_05ss at yahoo.com
Thu Apr 5 19:04:50 CEST 2007
On Apr 5, 5:20 am, Steve Holden <s... at holdenweb.com> wrote:
> 7stud wrote:
> > On Apr 4, 10:22 pm, mik3l3... at gmail.com wrote:
> >> how did you generate aaa.txt?
> > Ok, I got it to work by supplying a filename that didn't previously
> > exist. Neither the book I am reading, "Beginning Python: From Novice
> > to Professional" nor the book I am using as a reference, "Python in
> > Nutshell", happens to mention that important fact.
> It seems to make sense that you have to open a file as writable in order
> to be able to change its contents, though, doesn't it?
My text file was writable.
More information about the Python-list