> Here's the code I presently use in a Bash Shell script:
>
> /bin/mkdir -p /Volumes/A_Share
> /sbin/mount_afp "afp://username:[EMAIL PROTECTED]/A_Share"
> "/Volumes/A_Share"
>
> Can something similar be done with Python?
You can always use os.system to do what the shell does, ie.
os.sy
Is there a way to connect to servers on OS X using Python?
Here's the code I presently use in a Bash Shell script:
/bin/mkdir -p /Volumes/A_Share
/sbin/mount_afp "afp://username:[EMAIL PROTECTED]/A_Share" "/
Volumes/A_Share"
Can something similar be done with Python?
Thanks!
Jay
--