Just curious... why assign all the shortcuts?
ie:
ie:
b64encode = base64.b64encodeWhy not just directly import?
from base64 import b64encodealthough I didn't read over the whole thing... maybe I'm missing something