Encoding and Decoding Base64 Strings in Python

Introduction Have you ever received a PDF or an image file from someone via email, only to see strange characters when you open it? This can happen if your email server was only designed to handle text data. Files with binary data, bytes that represent non-text information like images, can be easily corrupted when being transferred and processed to text-only systems. Base64 encoding allows us to convert bytes containing binary or text data to ASCII characters. By encoding our data, […]

Read more