Anand wrote:

> Greetings,
> 
> How do I convert programmatically the file names from WIN32 to UNIX
> format?
> 
> A code snippet would be of great help.
> We are new to python! :)

unix_name = win_name.replace("\\", "/")

But this of course won't work for anything that starts with a drive letter
for example.

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

Reply via email to