T
Thomas Rademacher
Hallo,
my application want to scan WIN directories with UNC pathnames.
The methods os.path.isdir(pathname) and os.listdir(pathname) work fine with
pathname="\\\\servername\\path".
But with the argument pathname="\\\\servername" the method
os.path.isdir(pathname) returns 0 and the method os.listdir(pathname) raises
an exception.
What is the reason? And how can I scan such UNC directories
(pathname="\\\\servername")?
I must work with python2.2 WITHOUT additional modules (win32wnet, ...).
Tnank's for your hints Thomas
my application want to scan WIN directories with UNC pathnames.
The methods os.path.isdir(pathname) and os.listdir(pathname) work fine with
pathname="\\\\servername\\path".
But with the argument pathname="\\\\servername" the method
os.path.isdir(pathname) returns 0 and the method os.listdir(pathname) raises
an exception.
What is the reason? And how can I scan such UNC directories
(pathname="\\\\servername")?
I must work with python2.2 WITHOUT additional modules (win32wnet, ...).
Tnank's for your hints Thomas