listdir en reseau ne marche pas
bonjour,
j'essaie d'atteindre un repertoire en reseau mais python ne me le trouve pas.
pourtrant, j'y ai bien acces via ls, dir , explorer ,etc...
Code:
1 2 3 4 5 6 7 8 9 10 11 12
|
D:\appl\Microsoft Visual Studio 9.0\VC>python
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.listdir("\\patrns94\rep")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
WindowsError: [Error 3] The system cannot find the path specified: '\\patrns94\\
COVO/*.*'
>>> |
y a t il une autre méthode a utiliser .
merci
salutation