Re: os.path.split gets confused with combined \\ and /

2009-05-18 Thread Ulrich Eckhardt
Stef Mientki wrote: > I've to distribute both python files and data files. > Everything is developed under windows and now the datafiles contains > paths with mixed \\ and /. For your info: Some (!!!) parts of MS Windows understand forward slashes as path separators and disallows them in file name

Re: os.path.split gets confused with combined \\ and /

2009-05-17 Thread Chris Rebert
On Sun, May 17, 2009 at 3:11 AM, Stef Mientki wrote: > hello, > > just wonder how others solve this problem: > I've to distribute both python files and data files. > Everything is developed under windows and now the datafiles contains paths > with mixed \\ and /. > Under windows everthing is worki

os.path.split gets confused with combined \\ and /

2009-05-17 Thread Stef Mientki
hello, just wonder how others solve this problem: I've to distribute both python files and data files. Everything is developed under windows and now the datafiles contains paths with mixed \\ and /. Under windows everthing is working well, but under Ubuntu / Fedora sometimes strange errors occu