Python newbie with a problem writing files

John Machin sjmachin at lexicon.net
Sun Sep 3 23:36:51 EDT 2006


Mike Kent wrote:
> > feed_list = open("feed_listing.conf","r")
>
> What could it be about the above line that means "Open this file for
> READ ONLY"?

That's his *INPUT* file. The error referred to his *OUTPUT* file, and
in any case the complain was that the "write" attribute was read-only,
*NOT* the ferschlugginer file itself.

"Sheesh!" * 2




More information about the Python-list mailing list