Re: [python-win32] Python parser for Windows Event Logs

2009-07-11 Thread Mark Hammond
Check out the ReadEventLog code in win32evtlogutil.py - you will notice you need a loop like: while 1: objects = win32evtlog.ReadEventLog(h, readFlags, 0) if not objects: break Mark On 11/07/2009 1:38 PM, Tony Cappellini wrote: Ok, I'm able to

Re: [python-win32] Python parser for Windows Event Logs

2009-07-11 Thread Tony Cappellini
I'll give that a try. I was using this for my reference http://timgolden.me.uk/pywin32-docs/Windows_NT_Eventlog.html On 7/11/09, Mark Hammond skippy.hamm...@gmail.com wrote: Check out the ReadEventLog code in win32evtlogutil.py - you will notice you need a loop like: while 1: