Using Python

Larry Bates larry.bates at
Wed Nov 29 18:48:53 CET 2006

beemer328i2004 wrote:
> Hi Guys,
> I am new to this language and i need some help...
> I am trying to create a script that will go into a log file and bring 
> me back the xml from an order...
> For example:
> go into Log1.xml and extract order number 2 from top to bottom and 
> extract it into a txt file...
> Does anyone know how i can create this type of script or has like a 
> sample that i can use.. I am having a hard time starting the script..
> hope someone can help
> Thanks agian
You should also review this module for parsing your XML:

elementree is now part of the standard library.

Note:  It would also help if you would post contents of log1.xml
so others could see what you are working with.  You should also
post whatever python code you have tried so far.


More information about the Python-list mailing list