<reponame>Wycers/Codelib<gh_stars>10-100
import binascii
with open('model.pb', "rb") as f:
    print(binascii.b2a_base64(f.read(), newline=False))

import binascii
with open('model.pb', "rb") as f:
    print(binascii.b2a_base64(f.read(), newline=False))