[Twisted-Python] Escaping variable names
Kamil Wasilewski
kamil at lucem.pl
Fri Mar 5 10:15:44 MST 2010
Hi,
Ive got an issue where a variable name needs to have a minus sign (-) in it.
from SOAPpy import WSDL
wsdlFile = "http://webapi.allegro.pl/uploader.php?wsdl"
server = WSDL.Proxy(wsdlFile)
server.soapproxy.config.argsOrdering = {'doGetCountries': ['country-code',
'webapi-key'] }
server.doGetCountries(country-code=COUNTRYID}, webapi-key=WEBAPIKEY)
The above method allows me to specify the order and name of variables being
sent, but i have a problem since the variables have a "-" sign in the
middle, is there a way to escape it in the variable name or get around the
problem?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20100305/2d98cb60/attachment.html>
More information about the Twisted-Python
mailing list