[Pythonmac-SIG] machine architecture 32/64 with Python 2.6 on Snow Leopard?
Bill Janssen
janssen at parc.com
Sat Sep 19 22:37:22 CEST 2009
You could also use other test I've seen:
def arch():
import ctypes
return {4: "i386", 8: "x86_64"}[ctypes.sizeof(ctypes.c_size_t)]
Bill
More information about the Pythonmac-SIG
mailing list