python如何退出命令行_如何退出python命令行
生活随笔
收集整理的這篇文章主要介紹了
python如何退出命令行_如何退出python命令行
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
命令行進入python
打開cmd——>直接輸入python即可
直接進入PythonC:UsersAdministrator>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:UsersAdministrator>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:UsersAdministrator>
總結
以上是生活随笔為你收集整理的python如何退出命令行_如何退出python命令行的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: postgresql 分词_使用Post
- 下一篇: 100例经典炒菜_Python3经典10