speeding up Python when using wmi

R

rbt

Here's a quick and dirty version of winver.exe written in Python:

http://filebox.vt.edu/users/rtilley/public/winver/winver.html

It uses wmi to get OS information from Windows... it works well, but
it's slow... too slow. Is there any way to speed up wmi?

In the past, I used the platform and sys modules to do some of what
winver.exe does and they were rather fast. However, since switching to
wmi (for a more accurate representation) thinngs have gotten slow...
real slow.

I suppose this could be a wmi only issue not related at all to Python.

Any tips or ideas?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top