using special characters in functions: Python
- by satyajit
I am writing an xmlrpc client which uses a server written in ruby. One of the functions is framework.busy?(). Let me show the ruby version:
server.call( "framework.busy?" )
So lets assume I create an instance of the ServerProxy class say server. So while using python to call the function busy? I need to use:
server.framework.busy?()
This leads to an error:
SyntaxError: invalid syntax
How can I call this function? Or am I reading the ruby code wrong and implementing it wrongly.