如何查看自己的pyhton是多少位

打开终端,运行指令:

python
import platform
platform.architecture()

示例:

C:\Users\unisxa02>python
Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.architecture()
('64bit', 'WindowsPE')
>>> exit()

猜你喜欢

转载自blog.csdn.net/qq_41821678/article/details/126263121
今日推荐