codecs.encode() uses ASCII coding to encode python data..
codecs.decode() uses ASCII coding to decode python data...
Used for primarily unicode...
Most common are UTF-8 and UTF-16
Encoding data has been a huge development in computers and the internet, finding approriate standards to encode and decode this data was and still is a difficult task.
The ASCII chart shows us keys that match to certain characters, using decimal, binary and hex.
Different char formats like the UTF's are compatible with certain browsers and programming languages.