Re: [python-win32] win32com calling IE: OLE error 0x800704a6

2010-01-05 Thread Tim Roberts
Kees van Schaik wrote: > > I have written a Python script that runs on Windows XP with Python 2.5 > and uses Internet Explorer to 'pretty print' some HTML output. This > has been working perfectly fine for a few years until recently IE was > upgraded to version 8. Now occasionally Python throws an

Re: [python-win32] win32com calling IE: OLE error 0x800704a6

2010-01-05 Thread Kees van Schaik
>The 80070xxx errors are often COM-wrapped versions of the standard >Windows errors. 0x4A6 is 1190, which is "ERROR_SHUTDOWN_IS_SCHEDULED". >Is it possible this happens after a Windows Update has occurred but >before the reboot? Thanks. It is not impossible, but unlikely given that it has occured

[python-win32] Still looking for a method to get CPUID info ...

2010-01-05 Thread J
I've been at this a while :) Thought I'd ask if anyone knew either of a way in python, or just a stand alone tool, to use in Windows to get CPU information. Specifically, I'm looking for Feature sets or Flags. What I'm doing is building a tool for work that gets certain bits of system information

Re: [python-win32] Still looking for a method to get CPUID info ...

2010-01-05 Thread Tim Roberts
J wrote: > I've been at this a while :) > > Thought I'd ask if anyone knew either of a way in python, or just a > stand alone tool, to use in Windows to get CPU information. > Specifically, I'm looking for Feature sets or Flags. > > What I'm doing is building a tool for work that gets certain bits

Re: [python-win32] Still looking for a method to get CPUID info ...

2010-01-05 Thread J
On Tue, Jan 5, 2010 at 16:53, Tim Roberts wrote: > In my opinion, you could have solved this all much quicker and easier > just by writing a trivial DLL. Indeed... and I may well have tried that, were I actually capable of reading and writing assembly and/or low-level C... Unfortunately, I'm not

Re: [python-win32] Still looking for a method to get CPUID info ...

2010-01-05 Thread Tim Roberts
J wrote: > On Tue, Jan 5, 2010 at 16:53, Tim Roberts wrote: > > >> C:\tmp>python >> Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit >> (Intel)] onwin32 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> import ctypes >> >>> c = ctypes.windll.c

Re: [python-win32] Still looking for a method to get CPUID info ...

2010-01-05 Thread Tim Roberts
Tim Roberts wrote: > J wrote: > >> On Tue, Jan 5, 2010 at 16:53, Tim Roberts wrote: >> >> >> >>> C:\tmp>python >>> Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit >>> (Intel)] onwin32 >>> Type "help", "copyright", "credits" or "license" for more information. >>> >>>

Re: [python-win32] Still looking for a method to get CPUID info ...

2010-01-05 Thread Tim Roberts
Tim Roberts wrote: > Tim Roberts wrote: > >> J wrote: >> >> >>> On Tue, Jan 5, 2010 at 16:53, Tim Roberts wrote: >>> >>> >>> >>> C:\tmp>python Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] onwin32 Type "help", "copyright"