Connecting to SMB share in python
Diez B. Roggisch
deets at nospam.web.de
Thu Sep 25 12:28:35 CEST 2008
Ronnie Kwok wrote:
> Thank you for the reply!
> Yes, I am running the script under linux and it will be doing some
> processing before copying it over to the samba mount.
> It's totally fine to mount it with os.sys(...) approach but I am just
> thinking if there's other option.
None that is any more comfortable. If anything, you'd need smbclient or some
such to list and fetch data - which is *much* more complicated that simply
mounting a share defined in fstab.
More information about the Python-list