using special characters in functions: Python

Posted by satyajit on Stack Overflow See other posts from Stack Overflow or by satyajit
Published on 2011-01-04T11:44:04Z Indexed on 2011/01/04 11:53 UTC
Read the original article Hit count: 199

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about python

Related posts about ruby