suri = 'smb://' + settings.SERVER + '/' + settings.SHARE + '/test.dat'
dpath = '/tmp/destination.out'
sfile = ctx.open(suri, os.O_RDONLY)
dfile = open(dpath, 'wb')
dfile.write(sfile.read())
dfile.flush()
sfile.close()
dfile.close()
Using pysmbc to read files over samba