connect to server question

jay jyoung79 at kc.rr.com
Mon Dec 3 21:23:47 EST 2007


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:password@ServerBox/A_Share" "/ 
Volumes/A_Share"

Can something similar be done with Python?

Thanks!

Jay



More information about the Python-list mailing list