#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2008 Doug Hellmann All rights reserved. # """ """ #end_pymotw_header import xmlrpclib server = xmlrpclib.ServerProxy('http://localhost:9000', use_datetime=True) now = server.now() print 'With:', now, type(now), now.__class__.__name__ server = xmlrpclib.ServerProxy('http://localhost:9000', use_datetime=False) now = server.now() print 'Without:', now, type(now), now.__class__.__name__