unc paths in os.path.walk on win2000?

R.Marquez ny_r_marquez at yahoo.com
Thu Apr 8 10:02:01 EDT 2004


I'm not sure if this is the problem but from the little info you give...

You may have to escape the backlash like this:

"\\\\server\\path"

Or, you may want to use raw strings like this:

r"\\server\path"

-Ruben

"leo" <halloleo at noospaam.myrealbox.com> wrote in message news:<c52ulo$1heb$1 at otis.netspace.net.au>...
> how can i use unc paths in os.path.walk on win2000?
> 
> i tried the \\server\path representation in python 2.3 and it didn't work...
> 
> thanks, leo



More information about the Python-list mailing list