[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: Mapping network drive on Linux
From:       Robert Kern <rkern () ucsd ! edu>
Date:       2005-08-31 19:22:10
Message-ID: df5012$s3q$1 () sea ! gmane ! org
[Download RAW message or body]

Thierry Lam wrote:
> On windows, if I want to map a network drive to a local drive on my
> computer, I do the following:
> 
> data = {
> 	'remote' : '\\blah\data',
> 	'local' : 'Z:'
>        }
>        win32net.NetUseAdd(None, 1, data)
> 
> How am I supposed to do similar thing on Linux?

You would run the appropriate, external programs using os.system() or
subprocess. As for what those might be, you will have to read your
distribution's documentation or google around for HOWTOs.

-- 
Robert Kern
rkern@ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter

-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic