# For 32 bit it will return 32 and for 64 bit it will return 64 import struct print(struct.calcsize("P") * 8)
# For 32 bit it will return 32 and for 64 bit it will return 64 import struct print(struct.calcsize("P") * 8)
转载于:https://www.cnblogs.com/sea-stream/p/9985079.html