A simple example of transferring data between two databases in Python