推薦查看xmlprc的源文件:C:\Python31\Lib\xmlrpc 二、實例 1) Server 復制代碼代碼如下: from xmlrpc.server import SimpleXMLRPCServer from xmlrpc.server import SimpleXMLRPCRequestHandler def div(x,y): return x - y class Math: def _listMethods(self): # this method must be present for system.lis...
function & XMLRPC_adjustValue($current_node){ if(is_array($current_node)){ if(isset($current_node['array'])){ if(!is_array($current_node['array']['data'])){ #If there are no elements, return an emptyempty array return array(); ...
md my_xmlrpc 新建文件夾my_xmlrpc echo=>1.txt 新建文件1.txt echo"this">> 1.txt 將this追加到1.txt之后 del 1.txt 刪除文件1.txt rd my_xmlrpc 刪除文件夾my_xmlrpc log.txt中的內容是: this is the end. this is the second end.