Python newbie with a problem writing files

Tim Chase python.list at
Mon Sep 4 05:11:10 CEST 2006

>> feed_list = open("feed_listing.conf","r")
> What could it be about the above line that means "Open this file for

Oooh, oooh, I know!  If you rot13 the file-name, it comes back as 
"srrq_yvfgvat.pbas".  The double "r"s in the file-name instruct 
python to open the file as "really read-only".  And the .pbas 
means you need to be opening the file with python-basic, not python.



More information about the Python-list mailing list