Scripts for handling MySQL database with Python