Guido van Rossum, creator of Python, stated that the code is read much more often than it is written. That means code readability is as important as its technical capabilities.
The full form of PEP is Python Enhancement Proposals. PEP 8 exists to provide guidelines on how certain parts of your code should be written to make it more readable and easy to understand. This chapter will go over some guidelines for very commonly used situations.
It is important to note that these are just guidelines and it is up to you to decide whether to follow them or not. There are valid cases where some of these guidelines should not be applied. If you work in a team then you should make a decision about which guidelines to follow and make up your own for other cases. Most importantly your code style should be consistent throughout your whole code base.
PEP was first created in the year 2001. In the next few topics we will learn about some of the guidelines that exist in PEP 8.