I am newish to the DevOps world and am studying for the CCNA DevNet. I am a newish Python user as well and have currently written about 20 jobs to help automate my environment. What I can't seem to find help on is DevOps/Python workflows. Examples: How to properly organize and use Git, How to take full advantage of OOP (should even small scripts reference external reusable modules, or keep them in the main script?), How to best utilize logging for troubleshooting purposes, How to write efficient code but also test for efficiency.
Is there a good resource for me to learn this type of information? I can find answers to Python easy enough, but the workflow part is more difficult to find.