Mapping a drive to a network path

Jeff Epler jepler at
Fri Jul 22 21:33:38 CEST 2005

import os
os.system(r"net use z: \\computer\folder")

Something in the win32net module of win32all may be relevant if you
don't want to do it through os.system:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list