[Pythonmac-SIG] Connecting to Windows shares
Piet van Oostrum
piet at cs.uu.nl
Thu Sep 22 19:42:26 CEST 2005
>>>>> Simon Brunning <simon.brunning at gmail.com> (SB) wrote:
>SB> I want to use a python script to copy some files from a Windows share
>SB> to my Mac. Connecting to a Windows share with Finder is easy, but how
>SB> do I do it from a script? (Python 2.4.1 on OSX 10.4.2, if it matters.
Issue a mount or, more specifically, a mount_smbfs command through
os.system or the subprocess module or some such.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Pythonmac-SIG
mailing list