python - NameError: global name 'win32netcon' is not defined -
hey i'm trying run scripts in python 2.7 , i've downloaded matching python windows extension package. reason i'm still getting error. know can download win32netcon?
win32wnet.wnetaddconnection2(win32netcon.resourcetype_disk, nameerror: global name 'win32netcon' not defined
you need import win32netcon first.
import win32wnet, win32netcon win32wnet.wnetaddconnection2(win32netcon.resourcetype_disk, password, username, flags)
Comments
Post a Comment