Hello!!!
I am trying to work with XMLRPC.
I have tried this:
from xmlrpc.server import SimpleXMLRPCServer
def is_even(n):
return n%2 == 0
server = SimpleXMLRPCServer(("localhost", 8069))
print("Listening on port 8000...")
So that ihave got this error:
Traceback (most recent call last):
File "add_partner.py", line 1, in <module>
from xmlrpc.server import SimpleXMLRPCServer
ImportError: No module named xmlrpc.server
Please, who can help me.
THanks a lot in advance.
Best Regards.