Though, some projects may sway from it from time to time. The entire Python community does its best to adhere to the guidelines laid out within this document. PEP 8 (also spelled PEP8 or PEP- 8) is a document that provides guidelines and best practices on how to write Python code. The Python style guide is popularly referred to as PEP - 8. Once a consensus is reached, the community moves to implement the proposal if accepted. Whenever particular new features are added, or existing features are modified in Python, a detailed proposal is put forward and discussed. A PEP is a design document providing information to the Python community or describing a new feature for Python or its processes or environment. PEP stands for Python Enhancement Proposal. The following defines the importance of a PEP. PEP is how the contributors propose new changes to the Python programming language. This style guide was developed after a lot of discussion among the core contributors via a Python Enhancement Proposal (PEP). To make it easier for every participating open-source contributor to write consistent code, Python has a well-defined style guide. Because Python is an open-source project, thousands of programmers contribute pieces of code to make it more useful. We have already seen many standard modules built-in Python. Let's take a look at the official style guide of Python. Using a style guide in a project helps suppress individual programmers' tendency to write things in their way.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |