[BangPypers] Access xml file form python script

Avinash TM avinashtm at gmail.com
Sun Oct 31 12:42:12 CET 2010

Hi All,

I have created a simple xml document i.e., preferences.xml as follows

<?xml version="1.0"?>
  <object name="category" value="cricket">
   <property name="title">Cricket</property>
   <property name="subscribers">
    <element name="avinash"/>
<element name="prashant"/>

Now i want to access the above data from a python script.
I gone through some websites. But not getting actual idea.
Should i use any data structures ( Lists, Dictionary, Tuples) in my python
Can anybody help me

Thanks & Regards

More information about the BangPypers mailing list