blog: my python conventions

2024-11-27


intro

as i start to take on larger software projects that require continuous revisiting and refactoring, i want to create a style guide that i can go back to in order to create consistent and readable code.
the pep style guide is great, but i have a few preferences that differ with its conventions and also some preferences where the style guide does not specify a best practice.
although this post is dated for 11/27/24, i want to continue to build refine this guide as i code more in python. hopefully nothing that i put changes too much.


overall structure

the overall structure of a python script should be:


whitespace

Back to home