How to create encoding and decoding Base64 using PYTHON