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

Chris Angelico rosuav at gmail.com
Mon Mar 4 21:56:27 CET 2013


On Tue, Mar 5, 2013 at 6:59 AM, io <maroso at libero.it> wrote:
> Genius!
>
> The code i posted was an example.
> My real code was c:\btc_trading ....
>
> i was just missing the double slashes!
>
> Thanks , thankyou very much.
>
> :-)

Even on Windows, you can use / as a directory separator. This
generally saves you the trouble of switching to \\ for everything;
though still, absolute paths are often wrong. But at least you can use
relative paths safely!

ChrisA



More information about the Python-list mailing list