mounting network drives in macosx

Bob Ippolito bob at redivi.com
Wed Mar 3 21:56:52 CET 2004


If it's the same network share every time, you can just make an alias 
to it (manually) from the finder, and then os.system('open myalias') 
whenever you want it to be mounted.  Of course, this will open a window 
in the finder, but it is a quick&dirty way to do it.

The real question is why you're trying to do it, and in what kind of situation.

On 2004-03-03 12:26:21 -0500, "bobb" <rawbobb at hotmail.com> said:

> It depends if you want to mount via NFS, SAMBA (windoze like), or other.
> Once you figure that out, google for python os commands,
> that may get you started.
> there may be seperate modules for macosx.
> 
> "Joe" <heavens7s at hotmail.com> wrote in message
> news:560d84ab.0403030701.2454d4c3 at posting.google.com...
>> Is there a way to mount a network share from within Python on MacOSX?
>> I imagine it would be the same as for Unix, but I don't know how to do
>> it for Unix either.  I have searched python.org and googled a lot
>> without success.  Any help here is greatly appreciated.  Thanks all!





More information about the Python-list mailing list