I've written a code to check whether python shell is running in 32bit or 64bit. But the code prints 8 instead of 64

前端 未结 0 1252
情话喂你
情话喂你 2020-12-15 14:16
print(struct.calcsize("p") * 8)

The above code prints 8 instead of 32 or 64.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题