成都网站建设设计

将想法与焦点和您一起共享

创新互联Python教程:python安装后在哪

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

10年品牌的成都网站建设公司,上1000+企业网站设计经验.价格合理,可准确把握网页设计诉求.提供定制网站建设、商城网站建设小程序定制开发成都响应式网站建设公司等服务,我们设计的作品屡获殊荣,是您值得信赖的专业的建站公司。

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

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


分享名称:创新互联Python教程:python安装后在哪
标题来源:https://chengdu.cdxwcx.cn/article/dpesjoh.html