• 技术文章 >常见问题 >Python常见问题

    如何退出python命令行

    silencementsilencement2019-09-10 11:19:16原创9161

    命令行进入python

    打开cmd——>直接输入python即可

    直接进入Python

    C:\Users\Administrator>python
    Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>>

    退出python,如下

    C:\Users\Administrator>python
    Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import re
    >>> exit()
    
    C:\Users\Administrator>
    专题推荐:python
    品易云
    上一篇:python的setuptools是什么 下一篇:python有帮助函数么

    相关文章推荐

    • python命令行如何退出• 命令行怎么退出python• python如何退出程序• python如何退出help

    全部评论我要评论

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

  • 取消发布评论
  • 

    Python学习网