import hashlib
md5_l = hashlib.md5()
with open("path",mode="rb") as f:
by = f.read()
md5_l.update(by)
ret = md5_l.hexdigest()
with open("path",mode="rb") as f:
by = f.read()
md5_l.update(by)
ret = md5_l.hexdigest()
print(ret)
