Pep 8 standard is a good convention to use when coding especially when working as a team.Standards and conventions make reading other peoples code easier.Getting yourself to start adhere to these standards takes some time and effort, but by using the right tools it can take a shorter time.By the way, taking your time to learn these standards is quite worth the effort.
Pycharm is a wonderful python IDE which i would recommend to anybody doing development in python.Using pycharm you can set pep8 as an external tool, which you can invoke on any file you are currently working on to check whether it violates any standards.This can be done this way.
Install pep8 package from the python package index
pip install pep8
go to: File > Settings > External Tools > Add new
if your using virtual env, use the path to pep8 installed in the virtualenv's bin directory.Otherwise point it to the location where pep8 is installed, use the whereis command to find it.
Now add an output filter as follows.
You can now access the command from the tools menu or conveniently right click anywhere within the file currently being edited and select the command.
The output should be quite helpful in identifying changes which need to be made.
TRANSLATE
Popular Posts
-
Free Download Games Plants vs Zombie 2 Versi Update Terbaru Full Version Gratis. Game paling Lucu, keren dan sangat menghibur. Ini adalah G...
-
Unduh gratis dan Daptkan software browser yang paling populer digunakan oleh banyak pengguna rumahan free Mozilla Firefox 25.0 Final Update...
-
Free Download Pro Evolution Soccer (PES) 2014 Full Crack + Patch 1.0 - Games PES For PC Gratis. PES 2014 + Crack Full Version 100% work. Pa...
-
Free Download Avast! Free Antivirus 9.0.2006 Final New Update Terbaru 2013 Gratis Full Version. Avast! Pro Antivirus 2013. Avast Antivirus...
-
Free Internet Download Manager IDM 6.18 Build 4 - Download Gratis IDM update Versi terbaru 2013 Final Full Version - IDM Serial Number SN...
-
Dr. Anita Borg revolutionized the way we think about technology and worked to dismantle the barriers that keep women and minorities from en...
-
Daptkan software browser yang populer digunakan Mozilla Firefox 25.0 Final Update Terbaru Oktober 2013. Free Download Mozilla Firefox versi...
-
Download Software Freemake Video Converter versi 4.0.4.4 new Update Terbaru Oktober 2013 - Gratis Freemake Video Converter Full Version, siz...
-
Dapatkan Software photo manager ACDSee 17.0.41 yang populer di gunakan untuk mengatur semua gambar yang ada di komputer Anda. Free download...
-
Thanks to modern technology you can connect with your loved ones by sending a quick note, a photo of your cat, even a smile :) around the wo...