In this video, you'll learn about PEP.
PEP is the Python Enhancement Proposal.
It contains guidelines and proposed improvements.
PEP 8 is the current version, and it defines coding style to ensure consistency across
projects.
So, it's best practices for coding.
And the Python core standard library follows it.
And as a programmer, you should follow it as well.
There are some recommendations, and one of the recommendations is about indentation and
line length.
So, you should use four spaces for indentation, and the maximum line length is 79 characters.
Then there are some naming conventions.
Variables and functions are in lowercase with underscores.
As you can see noted here, lowercase underscore, with underscore, underscores.
And classes use cap words, where every word starts with a capital.
Classes are in uppercase.
And there's also a recommendation about whitespaces after commas, and no spaces before parentheses.
The import order is as following.
First, there's a standard library.
Then there is the external packages, and then there is the local modules.
And these are the most important recommendations in the PEP 8 standard.