Optimize Python

How to profile and optimize Python apps

Introduction This blog post used to be a document, which was designed to be a concise and easily referenceable guide for software engineers on how to benchmark Python code and how to optimize it. As a result, it should help Python developers write more efficient Python code in the future.... [Read More]
Tags: python, optimize, profile, benchmark, fast python


Where did the idea come from? Regress arose from my simple every day need of testing newly written programs and scripts with a bunch of different inputs against the expected outputs. [Read More]

Nosetests and how to pass object instances between tests

How to take your tests not only to the next level, but out of this world

What is nose? It is an unittest framework. It makes testing Python code super easy and efficient so you can focus on the tests’ quality instead of doing all of the grunt work. If you write python code then you should be using nose to verify not only your overall... [Read More]
Tags: nose, nosetests, advanced nose, pass object, python, programming