map network drive

Mark Hammond mhammond at skippinet.com.au
Fri Nov 1 23:03:15 EST 2002


Chris Liechti wrote:
> "tagarwal" <trilok.agarwal at oracle.com> wrote in 
> news:mfFw9.10$%f4.172 at news.oracle.com:
> 
> 
>>How could i map network drives using python scripts,
> 
> 
> i guess you're talking of windows. in that case you can use
> os.system or os.popen and call "net use" with appropriate args.
> it's likely that there is also a windows API call that you can use with the 
> win32all module but i don't know that.

The win32wnet and win32net modules.  win32wnet is preferred as it also 
works on Win9x.

Mark.




More information about the Python-list mailing list