Today, I want to discuss a topic that, when I discovered it, significantly improved my workflow. It is the standard library module unicodedata. This module proves exceptionally valuable when parsing data. Let’s delve into why.
The unicodedata.normalize(form, unistr, /) function serves to convert Unicode strings into their standardized form.
There are four possible values for form, two for composing and two for decomposing:
Firstly, let’s check some stuff in a Python shell:
Some weeks ago, my cellphone crashed and never turned on again, so I lost several pictures and videos that I’m trying to recover. However, this made me wonder how I should back up my data, just in case something similar occurs again.
I have all Google sync/backup disabled because I don’t want to keep feeding the monster; this is definitely not an option for me. As I’m an active Proton fan and subscriber (see Proton.me), I came up with the idea of using Proton Drive as my cloud storage to securely store my data.