I have a XMLRPC python script that extracts data from a database (postgres) and prints to screen in the command prompt. However I need it to write to file. The first part of