By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,971 Members | 907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,971 IT Pros & Developers. It's quick & easy.

mounting network drives in macosx

P: n/a
Joe
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!
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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" <he*******@hotmail.com> wrote in message
news:56**************************@posting.google.c om...
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!

Jul 18 '05 #2

P: n/a
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" <ra*****@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" <he*******@hotmail.com> wrote in message
news:56**************************@posting.google.c om...
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!

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.