python安装后在哪

549次阅读
没有评论

python安装后在哪

从官网下载python的安装包,安装过程中可选择装在C盘或D盘或者其他的磁盘。

如果忘记了安装在哪里,可以在命令行中使用以下命令

where python

会显示python的绝对路径

C:\Users\Administrator>where python
C:\Users\Administrator\AppData\Local\Programs\Python\Python37\python.exe

C:\Users\Administrator>

使用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的交互模式,可以编写代码了。

神龙|纯净稳定代理IP免费测试>>>>>>>>天启|企业级代理IP免费测试>>>>>>>>IPIPGO|全球住宅代理IP免费测试

相关文章:

版权声明:wuyou2019-10-16发表,共计466字。
新手QQ群:570568346,欢迎进群讨论 Python51学习
评论(没有评论)