Hi... How are you?

I use win32extensions... I
have a problem, can you help me please?


import win32security
domain = "myNetworkDomain"
username = "testUser"
password = "testUser"

hUser = win32security.LogonUser (username, domain, password,
win32security.LOGON32_LOGON_NETWORK,win32security.LOGON32_PROVIDER_DEFAULT)
win32security.ImpersonateLoggedOnUser(hUser)
f = file (r"D:\test\local\kkk.txt", "w")

Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
IOError: [Errno 2] No such file or directory: 'D:\\test\\local\\kkk.txt'

(D:\test\local exists!!) What is the problem?...

Thanks a lot...

E
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to