Well yes, I was hoping for a library function, but none provides it.
Thanks for the code. Works nicely.

On Jan 18, 12:12 pm, apatheticagnostic <[EMAIL PROTECTED]>
wrote:
> Here we go then (are forward slashes valid in a filename in windows?)
> def path_into_cygpath(path):
>     drive, destination = path.replace('\\','/').split(':')
>     return '/cygdrive/' + drive.lower() + destination

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to