473,396 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

win32evtlog

Is anyone versed in pulling out information from the Windows (2000)
event log? I have looked at the docs and I am in the dark as to how to
do it. Do what? I am looking to pull out all events with "error" as the
type.

Robert

Jul 19 '05 #1
3 3365
si*****@gmail.com wrote:
Is anyone versed in pulling out information from the Windows (2000)
event log? I have looked at the docs and I am in the dark as to how to
do it. Do what? I am looking to pull out all events with "error" as the
type.


Generally there are a few things you can do to help yourself with such
things. There are some samples of win32 stuff in the win32all package,
in the "Demos" directories. It's possible there is some support for
that already.

Google can also help you search the list archives to find whether others
have asked this question in the past, as is almost always the case.
Usually it helps to know the name of either the relevant module from the
win32all package, or the relevant Win32 API which you can often get from
the msdn.com site if you don't already know it.

Finally, Googling the web instead of the newsgroup will often work very
nicely. The best approach is to start with the subject line you are
about to use for your posting plus the word Python (e.g. "python
win32evtlog"). Let us know what you find out!

-Peter
Jul 19 '05 #2
Doh! I didn't think to look in the demo directory. Silly me.

Jul 19 '05 #3

<si*****@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Doh! I didn't think to look in the demo directory. Silly me.

http://www.win32com.de/index.php?opt...163&Itemid=189
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Brad Clements | last post by:
I'm trying to get a simple service to work with py2exe and python 2.3 I get this error when I start it (after registering it) The description for Event ID ( 240 ) in Source ( UMXWIN32SVC )...
0
by: lebo | last post by:
Hi List I want to effectively 'tail' the NT event log - i.e. when a new event arrives in the log, parse it and decide whether to take an action. The track I've gone down is to create an event,...
1
by: David Bear | last post by:
I would like to develop some tools to better understand/analyze windows event logs. What I've done is export the event log as a delimited file, then try to use awk or python to parse the info....
0
by: F. GEIGER | last post by:
py2exe and datetime -> No module named datetime I've begun to use the stdlib module datetime instead of my home brewn classes. Since then a py2exe app doesn't run anymore: Traceback (most...
1
by: Austin | last post by:
My codes are below: *********************************** import win32evtlog def check_records(records): for i in range(0,len(records)): print records.SourceName h =...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.