#!/usr/bin/env python import xmlrpclib url = "http://localhost:20000/test1.woa/wa/RPC2" login = "test" pwd = "test" # call server server = xmlrpclib.Server(url, login=login, password=pwd) system = server.com.skyrix.system res = system.find("/tmp/") print "Result is '%s'" % ( res, ) res = system.find("/tmp/", "*105*") print "Result is '%s'" % ( res, )