• 技术文章 >Python技术 >Python基础教程

    怎样查看python是64位还是32位

    爱喝马黛茶的安东尼爱喝马黛茶的安东尼2019-10-29 09:33:14原创2884

    怎样查看python是64位还是32位?下面给大家介绍三种方法:

    方法一:

    打开IDLE,看第一行提示,例如:

    32位系统是这样的 Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:38:48) [MSC v.1900 32 bit (Intel)] on win32

    64位系统是这样的Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32

    相关推荐:《Python入门教程

    方法二:

    打开命令提示符CMD,输入python,也会显示上述命令。

    32位系统下

    64位系统下

    方法三:

    1

    2

    3

    4

    5

    6

    7

    C:\Users\dell>python

    Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32

    Type "help", "copyright", "credits" or "license" for more information.

    >>> import platform

    >>> platform.architecture()

    ('64bit', 'WindowsPE')

    >>>

    专题推荐:查看 python 64 32
    上一篇:怎么调试python脚本 下一篇:怎样卸载python

    相关文章推荐

    • 查看python是32位还是64位• python安装32位还是64位• 如何查看python是32位还是64位• python3如何查看是32位还是64位

    全部评论我要评论

    © 2021 Python学习网 苏ICP备2021003149号-1

  • 取消发布评论
  • 

    Python学习网