os.listdir("\\\\delta\\public")

I

Ishwor

hi check your seperator variable in the os module.
:)
for example
'\\'
Now what you do is :-:)

Have a look at the error below which is same as yours. The seperator
variable is put after the drive name and not before the drive name.
Traceback (most recent call last):
File "<pyshell#21>", line 1, in -toplevel-
os.listdir("\\c");
WindowsError: [Errno 3] The system cannot find the path specified: '\\c/*.*'

In Linux this would be somewhat like thisIn general use the most platform independent variable names (e.g
os.sep) unless you intend the program to be used only by yourself. :)

[snip]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,169
Latest member
ArturoOlne
Top