python培训之如何退出python命令行

发布时间:2022-10-28 09:42:25 人气:149 作者:多测师

  命令行进入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培训之如何退出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.

  >>> import re

  >>> exit()

  C:\Users\Administrator>

  以上内容为大家介绍了python培训之如何退出python命令行,希望对大家有所帮助,如果想要了解更多Python相关知识,请关注多测师。https://www.e70w.com/xwzx/


返回列表
在线客服
联系方式

热线电话

17727591462

上班时间

周一到周五

二维码
线