Phil Daintree <[email protected]> added the comment:
or for less data...
#!/usr/bin/env python
import xmlrpclib
x_server =
xmlrpclib.Server('http://www.weberp.org/weberp/api/api_xml-rpc.php',verbose=True)
#Get the stock items defined in the webERP installation
StockList =
x_server.weberp.xmlrpc_SearchStockItems('units','cm','admin','weberp')
if StockList[0]==0:
for StockID in StockList[1]:
print str(StockID)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11804>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com