Converting Python win32evtlog objects to xml
问题 I have a app that uses win32evtlog to get and display different events and I would like to limit the display to events of a specific level but win32evtlog doesn't return this. It seems that you can convert an event to XML and then pull this info but I can't work out how you get the event from a loop to XML. I can get up to the following and use it to display data the LogObject has such as LogObject.TimeGenerated Log = win32evtlog.OpenEventLog('localhost', 'Application') while 1: LogObjects =