Looking to start learning Python?

Begin Here

Category: Debugging

An article on debugging in Python

An Intro to Flake8

August 13, 2019 by Mike
Python has several linters that you can use to help you find errors in your code or warnings about style. For example, one of the most thorough linters is Pylint. Flake8 is described as a tool for style guide enforcement. It is also a wrapper around PyFlakes, pycodestyle and Ned Batchelder’s McCabe script. You can […]

Python 102: How to Profile Your Code

March 20, 2014 by Mike
Code profiling is an attempt to find bottlenecks in your code. Profiling is supposed to find what parts of your code take the longest. Once you know that, then you can look at those pieces of your code and try to find ways to optimize it. Python comes with three profilers built in: cProfile, profile […]

PyChecker: Python Code Analysis

January 26, 2011 by Mike
PyChecker is a cool tool for checking Python scripts for bugs. It works with Python 2.0 - 2.7. In this article, we will write some crappy code to see what PyChecker can pick up on. Then we'll improve the code according to what we find until the code checks out. According to PyChecker's website, it […]
View More

End of content

No more pages to load

Copyright © 2022 Mouse Vs Python | Powered by Pythonlibrary