Setting up for Python database interface code