In message <[EMAIL PROTECTED]>, Marcin201 wrote: > os.path.join('Pictures', '01.jpg') returns 'Pictures\\01..jpg' on > Win. When I read files created on Win under Unix this is a problem, > python cannot open 'Pictures\\01.jpg'
But it can on Windows, right? os.path contains functions specific to the _current_ platform (the one your script is running on). If you're trying to perform pathname manipulations on behalf of another platform, you shouldn't be using os.path. -- http://mail.python.org/mailman/listinfo/python-list