Manuel Vazquez Acosta wrote:have you tried platform.architecture()?>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just test for maxint value:
from sys import maxint
if maxint >33:
print "more than 32 bits" # probably 64
else:
print "32 bits"
I believe that was already suggested in this thread. That test will
just tell you if the Python *build* is 32-bit or 64-bit. If the answer
is 32-bit, then that doesn't tell you if this is a 32-bit Python
running on a 64-bit OS.
Trent