PEP 8 (PEP8 or PEP-8) is a document that provides guidelines and practices on how to write Python code. It was written in 2001 by Guido van Rossum, Barry Warsaw, and Nick Coghlan. The primary focus of PEP 8 is to improve the readability and consistency of Python code.
PEP stands for Python Enhancement Proposal, and there are several of them. A PEP is a document that describes new features proposed for Python and documents aspects of Python, like design and style, for the community.
Some important points about coding style in a quick glance:
1. Use 4-space indentation and no tabs.
2. Use docstrings
3. Limit all lines to a maximum of 79 characters
4. Imports should usually be on separate lines
5. Use regular and updated comments
There is a lot more to explore in PEP 8. You can learn about these by reading the full PEP 8 documentation.