Hello
I've been trying to "communicate" with my odoo database by a Python script seen below, and after running the script, I get the error "unsupported XML-RPC protocol", While the xmlrpc.client seems to be already installed on my local computer.
Here is the code:
url = "mydburl\\.com"
db\ =\ 'mydb'
username\ =\ 'admin'
password\ =\ 'admin'
import\\ xmlrpc\\.client
common\ =\ xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(url))
version = common.version()
print("details...", version)