No subject

Wiley Thomas WThomas at
Fri Jun 15 17:48:01 CEST 2007

I'm trying to write a script to open a file on our (windows) network.
The file is located on a machine that is not part of the domain and
requires a separate user id and password to access.  I tried using
urllib2 and the password_manager to authenticate but as some point
urllib2 sees I'm trying to access a local file and passes it off to os.
The error message I get is:

"WindowsError: [Error 1326] Logon failure: unknown user name or bad
password: <file path.


Does anyone know of a better approach.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list