Python编程基础的完整路线图
步骤1.介绍
- Python简介
- Python的历史
- Python的安装和设置
- Python的应用与特性
- Python职业
- Python vs R
- Python与PHP
- Python与JavaScript
- 编译器与解释器
- Python的味道
- Python环境设置
步骤2.基本概念
- Python变量
-
Python中的注释:
Single-line Multi-line Docstring
-
Python中的Newline
-
Python中的转义序列
-
Python输入和输出
-
Python中的数据类型:
Numbers String
-
Python操作符:
Arithmetic Operators Assignment Operators Comparison Operators Logical Operators Identity Operators Membership Operators Bitwise Operators
-
Python中的类型转换
-
布尔人
-
压痕
-
Python条件结构:
If Else If-else
-
Python决策结构:
Switch-case in Python
-
Range()在Python中
-
Python循环结构:
For Loop While Loop
-
中断和继续语句
-
Python Strings:
String Formatters and Escape Sequences String Functions and Operations The repr() Function
步骤3.Python中的数据结构
-
Python列表:
List Comprehension List Slices Operation of List List Function
-
PythonTuple:
Tuple vs List
-
Python字典
-
Python集
步骤4.函数编程
- 纯函数
- 不可变数据结构
- Python中的函数
- Lambda表达式
- Filter()函数
- Map()函数
- 减()函数
- Python中的递归函数
-
内置功能:
exec() eval()
-
Python中的装饰器
-
Python闭包
-
使用迭代工具
步骤5.Python模块和包
-
单元:
Counter Defaultdict OrderedDict namedtuple Numeric Modules- math, decimal, random sys Generating Random Numbers
-
一揽子:
pip and PyPI Modules vs Package
步骤6.异常处理
- 错误和例外
- 异常处理
- 最后块
- 单元测试
- Python中的断言
步骤7.文件处理
- 打开和关闭文件
- 读写档案
- 管理目录和文件
- 用Python重命名文件
- 用Python复制文件
- 用Python压缩文件
步骤8.Python中的高级概念
- Python正则表达式
- 文本分析器
- 元字符
- Python中的多线程
- 包装和拆包特性
- 虚拟环境和软件包
- 日历模块
- Python调试器
- 漂亮印刷
- 用Python进行CGI编程
- 理解urllib深拷贝与浅拷贝
- Python中的ASSERT语句
步骤9.面向对象的编程
- Python对象
- Python中的类
- Init()
-
Python中的方法:
Methods vs Functions Magic (Dunder) Methods
-
魔术法
-
Python中的抽象
-
抽象类
-
混凝土级
-
Python中的访问说明符
-
Python的多态性
-
用Python封装
-
Python中的继承:
Single Inheritance Multiple Inheritance Multilevel Inheritance Hierarchical Inheritance Hybrid Inheritance
- Python操作符重载
- Python函数重载
- Python中的生成器
- Python中的迭代器
- Python中的属性
- 生成器与迭代器
- 财产装饰
- 酸菜串行化
步骤10.普及框架
Django Flask CherryPy Selenium Pyramid
步骤11.最佳Python库
1. Selenium 2. MoviePy 3. Pandas 4. Pygame 5. Tkinter
步骤12.机器学习最佳Python库
1. NumPy 2. SciPy 3. Scikit-learn 4. Theano 5. Tensor Flow 6. Keras 7. PyTorch 8. Pandas 9. Matplotlib 10. Seaborn Python