32 OS on 64-bit machine

Mattia Gentilini (CNAF) Mattia.Gentilini_REMOVE_ at _REMOVE_CNAF.INFN.IT
Thu May 3 06:33:01 EDT 2007


SamG ha scritto:
> 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
I have a Athlon64 X2 with Debian unstable i386:
[mg at Galvatron pts/0 ~]$ python
Python 2.4.4 (#2, Apr 26 2007, 00:02:45)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import platform
 >>> print platform.processor()

 >>> print platform.architecture()
('32bit', '')
 >>>

I also have a MacBook with a Core 2 Duo and Mac OS X 10.4.9 :

[MG55 at dot1x-056 ttyp4 ~/Desktop/ETICS]$ python
Python 2.3.5 (#1, Aug 19 2006, 21:31:42)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import platform
 >>> print platform.processor()
i386
 >>> print platform.architecture()
('32bit', '')
 >>>

-- 
Mattia Gentilini
Collaborator for ETICS project - http://eu-etics.org/
INFN - CNAF - R&D Division - Bologna, Italy
* Using Mac OS X 10.4.9 powered by Cerebros (Core 2 Duo) *



More information about the Python-list mailing list