connection to samba server

Fredrik Lundh fredrik at
Sun Dec 14 09:42:11 CET 2003

Francis Avila wrote:

> After <5 minutes of googling, and knowing nothing about windows programming,
> it seems that the function you need is WNetAddConnection2:
> netaddconnection2.asp
> There is a (very popular) Python package out there which exposes the win32
> api.  I'm not sure what it's called. (win32api? pythonwin? win32all?)


but I'm pretty sure you can use os.system("net use ...") as well...


More information about the Python-list mailing list