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
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to