开发环境

安装最新版Python
下载地址:https://www.python.org/downloads/

Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World

运行Python


1.交互方式运行

用自带的IDLE

Python环境搭建过程从安装到Hello World

打开cmd输入python

Python环境搭建过程从安装到Hello World

2.程序方式运行
新建hello.py

print("Hello World") #打印语句
input() #输入(起暂停作用)

直接双击该文件

Python环境搭建过程从安装到Hello World

用cmd运行

Python环境搭建过程从安装到Hello World

UNIX/Linux下,也是python+文件名记得用chomod命令设置执行权限

%python hello.py
%./hello.py

IDE

推荐PyCharm
下载地址:https://www.jetbrains.com/zh-cn/pycharm/download/
有学生邮箱可以用专业版,或者选择免费社区版。

Python环境搭建过程从安装到Hello World

Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World

插播反爬信息 )博主CSDN地址:https://wzlodq.blog.csdn.net/

Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World

第一个项目 

流水的语言,铁打的Hello World

Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World

Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World
Python环境搭建过程从安装到Hello World

Python环境搭建过程从安装到Hello World

华山资源网 Design By www.eoogi.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
华山资源网 Design By www.eoogi.com