Have you looked at the source code of the Python standard library ? This can give you an idea of ββthe different features for the correct Python style. Not all of them follow PEP 8, but you can learn a lot just by looking. I recommend that you look at the modules contained in one file to get the full picture. Specific examples in the source include:
Keep in mind that this does not mean that these modules should be taken as βsample Python code,β but the point remains: they are good enough, because they should be included in the standard Python distribution.
For more complex modules, check out the standard email package or the Django source code. Again, not necessarily after PEP 8, but used by thousands (and beloved by many). A.
In fairness it is worth saying that there is a balance between the amazing Python code tomorrow and decent working code.
Greetings
Juan
source share