DEV Community

loading...
Cover image for Python Best Practises

Python Best Practises

iqbalerani profile image iqbalerani ・1 min read

Writing code and knowing the best practices is very important for any developer. Therefore, from the internet, I have managed to gather great concise information which all developers should adhere to while writing great codes with python;
Let's have a look at all the good practices:

  1. Create a Code Repository and Implement Version Control
  2. Create Readable Documentation with Markdown, reStructuredText, Sphinx, or docstrings.
  3. Follow Style Guidelines (Python Enhancement Proposals - PEP8)
  4. zero defects methodology - always corrects bugs and defects before proceeding.
  5. Use the PyPI Instead of Doing it Yourself
  6. Use Virtual Environments
  7. Use the Right Data Structures

Discussion (1)

pic
Editor guide
Collapse
tankerguy1917 profile image
tankerguy1917

Alright, thanks for this. I'll make sure to follow these.