python and xml

Nibin V M nibinvm at gmail.com
Wed May 16 10:16:04 EDT 2012


Hi,
I am trying to use cPanel XML-API and every API call return data in XML
format. I would like to know how to manipulate the data here.
For eg: How can I read the CPU load data from the below output
 <loadavg><one>0.00</one><five>0.00</five><fifteen>0.00</fifteen></loadavg><!--
whostmgrd -->
Thank you,
-- 
Regards....
Nibin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120516/60b84d64/attachment.html>


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /