Summary
Summarize the concept explored in this chapter regarding strings, serialization, and file paths in Python.
Recall
In this chapter, we’ve looked at the following topics:
-
The ways to encode strings into bytes and decode bytes into strings. While some older character encodings (like ASCII) treat bytes and characters alike, this leads to confusion. Python text can be any Unicode character and Python bytes are numbers in the range 0 to 255.
-
String formatting lets us ...