32 OS on 64-bit machine
Harald Karner
harald.karner at a1.net
Thu May 3 05:58:46 EDT 2007
SamG wrote:
> If anyone has a x86_64 machine and is running a 32bit OS on top of
> that.... could you tell me what output would you get for the following
> program
>
> #======================
> import platform
> print platform.processor()
> print platform.architecture()
> #======================
>
> Thanks in advance
> : )~
>
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>python
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> print platform.processor ()
>>> print platform.architecture ()
('32bit', 'WindowsPE')
>>>
More information about the Python-list
mailing list