[Pythonmac-SIG] Connecting to Windows shares

Simon Brunning simon.brunning at gmail.com
Thu Sep 22 14:28:27 CEST 2005


On 9/22/05, Simon Brunning <simon.brunning at gmail.com> wrote:
> I want to use a python script to copy some files from a Windows share
> to my Mac. Connecting to a Windows share with Finder is easy, but how
> do I do it from a script? (Python 2.4.1 on OSX 10.4.2, if it matters.

Found it. You need to invoke mount_smbfs via subprocess or whatever.

--
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/


More information about the Pythonmac-SIG mailing list