Install python-smbc by entering the following commands in the terminal:
sudo apt update sudo apt install python-smbc
Description:
Python 2 bindings for the Samba client library
This package contains an extension that allows one to write Python 2 programs that can talk to SMB/CIFS servers.
Homepage: https://github.com/hamano/pysmbc
Version: 1.0.15.6-1build2
Section: universe/python