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

Christian Gollwitzer auriocus at
Mon Mar 4 20:20:35 CET 2013

Am 04.03.13 20:06, schrieb io:
> The following scripts are working fine on linux but, using the same
> version, can't work on windows because i receive the following message:


> f = open("/home/io/btc_trading/markets.csv","wb")

> Windows error :
> Traceback (most recent call last):
>    File "C:\btc_trading\scripts
> \", line 10, in <module>
>      f = open("/home/io/btc_trading/markets.csv","wb")
> IOError: [Errno 2] No such file or directory: '/home/io/btc_trading/
> markets.csv'

Are you actually reading that error message? You have an absolute path 
in script! This /home/io... would something like C:/btc_trading/... on 

This is not a Python question, it is a Linux/Windows question. Ask your 
local IT guy.


More information about the Python-list mailing list