I don’t know if there is an easy or “standard” way of doing this. Did not bother to google and i do so using the sys module in the interpreter…
import sys
sys.maxint
64 bit ==> 9223372036854775807
32 bit ==> 2147483647
I don’t know if there is an easy or “standard” way of doing this. Did not bother to google and i do so using the sys module in the interpreter…
import sys
sys.maxint
64 bit ==> 9223372036854775807
32 bit ==> 2147483647
# proper way
import struct; print (8* struct.calcsize(“P”))