Optional: good to know Step 14 of 16 on the Python Developer roadmap

Logging

Instead of scattering print() calls, the logging module records what a script did and when. That record is gold when an automated job fails while you are asleep.

Resources

More in Automating everyday tasks

See it on the Python Developer roadmap