pyinstaller --onefile --noconsole --add-data="data/basis33.ttf;data" main.py
import sys
sys.exit()
my_date = "2022-04-27T19:39:14.856697021Z"
datetime.strptime(my_date[:-4]+my_date[-1], "%Y-%m-%dT%H:%M:%S.%f%z")
>> 2022-04-27 19:39:14.856697+00:00