Organizing your Python Code

Original photo by Tara Shankar at Pexels

The Problem:

📝 Many years ago I made a php image CMS of a few thousand lines… in one single file, most of the functionality was inside a giant loop ( plenty of nested loops, though), no…