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

Egor Bolonev ebolonev at mail.ru
Sat Dec 4 14:28:47 CET 2004


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

outputs
['Bases', 'Docs', 'Drivers', 'Soft', '\xc7\xe0\xec\xe5\xed\xe0 
\xd1\xe5\xf2\xe5\xe2\xee\xec\xf3 \xce\xea\xf0\xf3\xe6\xe5\xed\xe8\xfe', 
'Games']


and
import os
print os.listdir("\\\\delta")

outputs
Traceback (most recent call last):
  File "C:\Documents and Settings\Егор\My Documents\Scripts\test.py", line 
4, in ?
    print os.listdir("\\\\delta")
WindowsError: [Errno 53] : '\\\\delta/*.*'

so how to get list of delta's shares? 




More information about the Python-list mailing list