import xmlrpclib import tempfile import os import time term = 'macintosh' server = 'http://fork:8080/test123' start_time = time.time() filename = tempfile.mktemp() server = xmlrpclib.Server(server) results = server.manage_search(term) file = open(filename, 'w') file.write('
')
for res in results:
    for k, v in res.items():
        file.write('%s\t%s\n' % (k, v))
file.write('
') file.close() print "Time taken = %s" % (time.time() - start_time) os.system("explorer %s" % filename)