shelve error

Steve Holden steve at holdenweb.com
Thu Apr 5 07:20:59 EDT 2007


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?

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb     http://del.icio.us/steve.holden
Recent Ramblings       http://holdenweb.blogspot.com




More information about the Python-list mailing list