connection to samba server

Fredrik Lundh fredrik at pythonware.com
Sun Dec 14 03:42:11 EST 2003


Francis Avila wrote:

> After <5 minutes of googling, and knowing nothing about windows programming,
> it seems that the function you need is WNetAddConnection2:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wnet/wnet/w
> 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?)

win32all:

    http://starship.python.net/crew/mhammond/win32/

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

</F>








More information about the Python-list mailing list