Johntron Speaks

Software development tips, advice, strategies, and insight from Dallas, TX.


Python site-packages

July 18th, 2010

To get the path of your Python site-packages, just type the following from the console: python -c “from distutils.sysconfig import get_python_lib; print get_python_lib()

Multiple Databases in Django 1.2

December 16th, 2009

Django 1.2 will contain support for multiple databases. Good news for people trying to scale their web application or building intranet services.

Interactively debug Django applications

November 21st, 2009

Quit banging your head and learn to debug your Python web application using an interactive stack trace (pdb).