Python编程---Pycharm&Python安装

              Python编程---Pycharm&Python安装

1、Pycharm安装

1.1 官网下载

地址:https://www.jetbrains.com/

                  

           

                 

                 

                

                     

因为博主电脑是win32,所以pycharm的版本不能太高,否则无法安装。(2019.x以上只支持x64)

1.2 安装

运行可执行文件即可,选择对应的操作系统位数(博主选32-bit)

2、Python安装

2.1 下载

地址:https://www.python.org/downloads/windows/

  

分为安装版和内嵌版本,内嵌版本解压即可使用,安装版本需要安装。(建议使用安装版本)

2.3 安装

运行可执行文件即可。

3、配置Pycharm关联python

   

  

   

4、demo程序

#This is my  first python script programe
i=10
def print_hello(name):
    print(name)
if __name__=="__main__":
    print(i)
    print(__name__)
    print_hello("Hello World!")

猜你喜欢

转载自blog.csdn.net/yanlaifan/article/details/113926143
今日推荐