RE: speeding up Python when using wmi

2005-11-28 Thread Tim Golden
[rbt] Here's a quick and dirty version of winver.exe written in Python: [.. snip ..] 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

Re: speeding up Python when using wmi

2005-11-28 Thread rbt
Tim Golden wrote: [rbt] Here's a quick and dirty version of winver.exe written in Python: [.. snip ..] 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

RE: speeding up Python when using wmi

2005-11-28 Thread Tim Golden
[rbt] Here's a quick and dirty version of winver.exe written in Python: [Tim Golden] In short, I recommend replacing the wmi module by the underlying calls which it hides, and replacing Tkinter by a win32gui MessageBox. [rbt] Wow... thanks. I didn't expect someone to completely rewrite it