Minimal Bottle example with MySQL
Bottle is a minimal web framewor for Python. This box is configured to use Python 3, but can easily be set up to use 2.7 if you wish.
MySQL is a relational database system. Open source, and widely used, this is a good choice if you want to get your feet wet with real databasing.