Sep-28-2020, 05:51 PM
Pep 8 was written for the core Python developers, so I suppose they tried to follow these rules as much as possible, but obviously there are exceptions. A large part of the Python community adopted Pep 8. I think most of the useful code that you can find uses this convention.
Sometimes people adopt a different convention because they are porting to Python an interface that already exists in C or in Java and they choose the same structures and functions names to keep pace with existing code and documentation.
Sometimes people adopt a different convention because they are porting to Python an interface that already exists in C or in Java and they choose the same structures and functions names to keep pace with existing code and documentation.