Python script not working on windows 7 but works fine on linux

Terry Reedy tjreedy at
Mon Mar 4 22:19:45 CET 2013

On 3/4/2013 2:20 PM, ian douglas wrote:

> I imagine your CSV file lives in a different location on your Windows 7
> system (which also uses back-slashes '\' instead of forward-slashes '/',

Forward slashes work fine on Windows except for invoking the executable 
at a Command Prompt command line, where '/' marks an option.

 >>> open('/programs/python33/python.exe')
<_io.TextIOWrapper name='/programs/python33/python.exe' mode='r' 

Terry Jan Reedy

More information about the Python-list mailing list