import base64 b = bytes(input(""), "utf-8") m = base64.b64encode(b) print(m.decode('ascii'))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page