20 Jun
2000
20 Jun
'00
7:27 p.m.
How about this:
+ drive,rest=os.path.splitdrive(path) + if drive: + path = string.replace(rest, '\\', '/')
Oops, looks like this doesn't work after all. The Linux version of splitdrive doesn't actually do the split :-(.
Doh! Looks like we'll need to roll our own splitdrive then. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998