Another really tiny nitpick but as per PEP 8 http://legacy.python.org/dev/peps/pep-0008/#comments You should add a space after the #