Added a python version of the database access code. Requires a local version of apache to be running with a database called testdb, table test, user root, password password.