Search code examples
pythonabstractionsamba

Connect to a samba share with python in a platform independent manner?


Is there an abstraction that will allow me to connect to a samba share in python regardless of my platform?

More information

I do not want to mount a share. I simply want to upload files to a share, such as smbclient's put.

Thanks, Pete


Solution

  • pysmb seems to do this: https://miketeo.net/wp/index.php/projects/pysmb (edited with new link)