When working with text files in Python, it's considered a best practice to specify the character encoding that you're working with.
Read an article version of this video at https://pym.dev/unicode-character-enc...
Find more Python screencasts at https://pym.dev/screencasts/
00:00 All input starts as raw bytes
00:33 Encoding strings into bytes
00:49 Decoding bytes into strings
01:10 Specifying a character encoding when opening files
01:37 Be careful with your character encodings
02:25 Make sure to specify your character encodings