smb = smbclient.SambaClient(server='MYSERVER', share='MYSHARE', username=
    'foo', password='bar', domain='baz')
print(smb.listdir('/'))
f = smb.open('/file1.txt')
data = f.read()
f.close()
subprocess call's env passing