I am new to python. I am using python 3.1.2 I have to communicate with the xml-rpc server through my code. From my code, I call client.py, which in turn connects to the server to get comment lists from the server.
Work code:
class xmlrpc:
def connect(self, webaddr):
self.server = ServerProxy(webaddr)
Method List: -
my_list = self.server.tests.getTests()
the above method works, but while I have a limitation to set tests.getTests()to one cmd_str, as shown below
my_list = self.server.cmd_str
in this case it is cmd_strsent to client.py as the string itself, and not as another. Can someone help me how to do this?
source
share