On 13/07/2019 07:40, Asad wrote:
> want to print the output of the script in a xml file so that I can add some
> tags . How can it be done ?
XML is just text dso you can just use the normal Python string
operations to format an XML string with your data.
However there are XML libraries aplenty
Hi All ,
I written a python script which opens a logfile and searches for
error and based or error found it prints a solution to screen , instead I
want to print the output of the script in a xml file so that I can add some
tags . How can it be done ?
Thanks,
--
Asad Hasan
+91