RE: identifying 64-bit Windows from 2.3.5?




From: Steven Knight <knight@xxxxxxxxxx>
To: python-list@xxxxxxxxxx
Subject: identifying 64-bit Windows from 2.3.5?
Date: Wed, 8 Jun 2005 23:51:15 -0400 (EDT)

If I have installed 2.3.5 from the python.org Windows installer, can
any one point me to a run-time way to identify whether I'm running on
a 32-bit vs. 64-bit version of Windows XP, given that Python itself was
built on/for a 32-bit system?

I hoped sys.getwindowsversion() was the answer, but it returns the same
platform value (2) on both 32-bit and 64-bit systems.  sys.platform
("win32") and sys.maxint are both set at compile time.  Things like
os.uname() aren't on Windows.

Can some Windows-savvy Pythonista point me to some way to distinguish
between these two?

Thanks,

         --SK
--
http://mail.python.org/mailman/listinfo/python-list



I really don't think it matters too much which one you have, I have 64 bit and it works fine.


-Ivan

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


.



Relevant Pages

  • Windows Side-by-Side Errors Stumping Me!
    ... This is a Windows Side-by-Side issue that has run me ragged for about ... Reference error message: The operation completed successfully. ... and are installed with Windows Installer 3. ... I decided to move the folder with the VC80 DLLs to ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows Installer Problem
    ... You did all the steps here, except repair Windows? ... "The Windows Installer Service Could Not Be Accessed" error message when you ... Check if the ImagePath in the Registry is correct. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Office Enterprise 2007 - cant open, fix, or remove
    ... When I try to open iTunes, it has the Windows Installer ... It would seem that my new RAM is bad, or something, but I get the same ... you're not running in Windows Safe Mode, ...
    (microsoft.public.office.misc)
  • Re: Windows Installer Service
    ... "PaulM" wrote: ... This option turns on debug mode in Windows. ... Well from what I have read about this problem the only thing you can do is reinstall at this time. ... Reregistering the Windows Installer again with no luck. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: problem please help
    ... The Windows Installer Service could not be accessed. ... are running Windows in safe mode, or if the Windows Installer is not ... I was only using the laptop to post message and wasn't ...
    (microsoft.public.windowsxp.general)