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

Andrew Berg bahamutzero8825 at gmail.com
Mon Mar 4 21:25:44 EST 2013


On 2013.03.04 19:58, Steven D'Aprano wrote:
> 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.
Or use os.path.join, the entire purpose of which is to create suitable
paths dynamically.

-- 
CPython 3.3.0 | Windows NT 6.2.9200 / FreeBSD 9.1



More information about the Python-list mailing list