>  > 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



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to