[Tutor] Testing network folder

Bernard Lebel python at bernardlebel.com
Fri Aug 20 10:38:14 CEST 2004


I'm trying something very basic, but for the life of I'm getting what I
I try to test the existence of a directory located on a network computer,
using a UNC path.

import os
os.path.exists( '\\\\machineName\\sharedFolder' )

Always return False.
I'm on Windows XP, the target machine is a Windows machine, and there is a
samba server between us.
When I type
in my Windows Explorer, well, I get there immediately.

Is there anything I should be aware of?


More information about the Tutor mailing list