Diffing python files ignoring insignificant whitespace

I recently decided to adhere PEP 8 more strictly (i.e. going from 3 blanks to 4). I ran into some problem with diffing python files ignoring insignificant whitespace.

How to deploy a python app with dependencies similar to npm

If you have a ruby or node.js background, you probably came to appreciate gem and npm. Python is lacking in this respect. Current tools fail "There should be one– and preferably only one –obvious way to do it.". We show how to leverage pip and virtualenv in a non-obvious way.

Constantize in Python

Rails offers a nice function called constantize. It is easy to rebuild this (to some extend) in python. But the price is too high.

Avoiding Shell Injection in Ruby, Python and PHP.

I recently found a shell injection bug in some Ruby-gem I use. Shell injections have scared me for a long time and I usually prefer to whitelist certain characters/patterns rather than to blacklist. This means that the system fails to the save side. Unfortunally it usually does fail – my whitelisting is to rigorous and data that would not cause any problems gets rejected. So I decided to take the opportunity to investigate how to prevent shell injection in my favorite scripting language (Python), the language I found the problem in and finally the language that I can not avoid (PHP).