Jonothan Farr writes:
 > 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 :-(.

_______________________________________________
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