import xmlrpclib proxy = xmlrpclib.ServerProxy("http://localhost/bugzilla/xmlrpc.cgi", use_datetime=True) try: id = {'ids': [1]} response = proxy.Product.get(id) print response except xmlrpclib.Fault, error: print "Fehlercode: %s" % error.faultCode print error.faultString