How do I determine if my python shell is executing in 32bit or 64bit?

前端 未结 18 1396
北恋
北恋 2020-11-22 04:25

I need a way to tell what mode the shell is in from within the shell.

While I\'m primarily an OS X user, I\'d be interested in knowing about other platforms as well.<

18条回答
  •  我寻月下人不归
    2020-11-22 04:49

    On Windows OS

    Open the cmd termial and start python interpreter by typing >python as shown in the below image

    If the interpreter info at start contains AMD64, it's 64-bit, otherwise, 32-bit bit.

提交回复
热议问题