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

Steven D'Aprano steve+comp.lang.python at
Tue Mar 5 02:58:42 CET 2013

On Mon, 04 Mar 2013 11:20:28 -0800, ian douglas wrote:

> The error tells you everything you need to know: the file system has no
> path/file called "/home/io/btc_trading/markets.csv"
> I imagine your CSV file lives in a different location on your Windows 7
> system (which also uses back-slashes '\' instead of forward-slashes '/',

Windows understands forward slashes in paths too. You can make your code 
(almost) platform-independent, and avoid a lot of problems with unescaped 
backslashes, by always using forward slashes in paths.


More information about the Python-list mailing list