Re: 32 OS on 64-bit machine

2007-05-04 Thread Hendrik van Rooyen
 SamG [EMAIL PROTECTED] 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()
 #==
 

not copy pasted - the new machine is not on the network yet
the answers look like:
i686
and
('32bit','')

Suse 10 gave me a warning during installation last night...
the machine is an HP Compaq Celeron D

- Hendrik

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


32 OS on 64-bit machine

2007-05-03 Thread SamG
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
: )~

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


Re: 32 OS on 64-bit machine

2007-05-03 Thread Harald Karner
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')
 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 32 OS on 64-bit machine

2007-05-03 Thread SamG
On May 3, 2:58 pm, Harald Karner [EMAIL PROTECTED] wrote:
 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')
  

Thanks, I would be more interested in the output on Linux's or Unix

Thanks again : )~

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


Re: 32 OS on 64-bit machine

2007-05-03 Thread king kikapu
I have at home an AMD Turion 64 and using Ubuntu. You may be
interested on this, i will post here the results when i get back home!

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


Re: 32 OS on 64-bit machine

2007-05-03 Thread Mattia Gentilini (CNAF)
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:
[EMAIL PROTECTED] 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 :

[EMAIL PROTECTED] 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 - RD Division - Bologna, Italy
* Using Mac OS X 10.4.9 powered by Cerebros (Core 2 Duo) *
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 32 OS on 64-bit machine

2007-05-03 Thread MrJean1

$ python
Python 2.5c1 (r25c1:51305, Sep 12 2006, 08:39:50)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-54)] on linux2
Type help, copyright, credits or license for more information.
 import platform
 print platform.processor()
x86_64
 print platform.architecture()
('64bit', 'ELF')


This is an Opteron box running 64-bit RedHat Enterprise Lunix release
3 update 7, not 32-bit.

$ uname -a
Linux localhost.localdomain 2.4.21-40.EL #1 Thu Feb 2 22:20:41 EST
2006 x86_64 x86_64 x86_64 GNU/Linux

/Jean Brouwers



On May 3, 2:10 am, SamG [EMAIL PROTECTED] 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
 : )~

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


Re: 32 OS on 64-bit machine

2007-05-03 Thread king kikapu
At Amd Turion 64, it gives:

('32bit', 'ELF')

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


Re: 32 OS on 64-bit machine

2007-05-03 Thread Joshua J. Kugler
On Thursday 03 May 2007 01:10, 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
 : )~

 import platform
 print platform.processor()

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


$ cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 44
model name  : AMD Sempron(tm) Processor 3100+
SNIP

$ uname -a
Linux djibouti 2.6.15-28-k7 #1 SMP PREEMPT Thu Feb 1 16:36:09 UTC 2007 i686
GNU/Linux



-- 
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE

-- 
Posted via a free Usenet account from http://www.teranews.com

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