I wanted read event viewer log file using event ID in Windows 7
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is your answer & sample code:
http://code.activestate.com/recipes/577499-windows-event-log-viewer/
But you will need to instal pywin32 extension, you can found it here: http://sourceforge.net/projects/pywin32/
without an extension, you can’t do that, because there is no native support for win32 api’s.