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

Michael Hoffman m.h.3.9.1.without.dots.at.cam.ac.uk at example.com
Sat Dec 4 10:47:16 EST 2004


Egor Bolonev wrote:

>    print os.listdir("\\\\delta")
> WindowsError: [Errno 53] : '\\\\delta/*.*'
> 
> so how to get list of delta's shares?

I'm sure someone will post the answer shortly, but you shouldn't expect 
that to work.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>hostname
MINIMOO

C:\>dir \\MINIMOO
The filename, directory name, or volume label syntax is incorrect.
-- 
Michael Hoffman



More information about the Python-list mailing list