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...
y a t il une autre méthode a utiliser .
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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/*.*' >>>
merci
salutation
Partager