我们首先学习Python的基础知识——变量、数据类型和操作符。还要学习循环和决策制定等概念:
- Python Variables
- Python Variable Scope
- Data Types in Python
- Python Operators
- Bitwise Operators
- Comparison Operators
- Operator Precedence
- Ternary Operators
- Python Decision Making
- Switch-case in Python
- Loops in Python
- Numbers with Python
- Python Strings
- String Formatters and Escape Sequences
- String Functions and Operations
- The repr() Function
步骤2:数据结构
步骤3:函数式编程
- Functions in Python
- Lambda expressions
- Function Arguments
- Function Recursion
- Built-in Functions
- range()
- eval()
- exec()
- Decorators in Python
- Closure in Python
- Working with itertools
步骤4:模块和包
步骤5:进阶Python
步骤6:面向对象编程
现在探索其他概念,如文件处理。这个模块教你如何在OS和shutil模块的帮助下操作文件。您还将学习如何使用Python复制、重命名和压缩文件。
- Reading and Writing Files
- Managing Directories and Files
- The OS Module
- The shutil Module
- Copying Files with Python
- Renaming Files with Python
- Zipping Files with Python
步骤8:异常处理
步骤9:重要的包
现在学习一些概念,如发送邮件、使用Python访问数据库、日志和多过程。
- XML Processing
- Sending Mail with Python
- Networking
- Processing Images
- GUI Programming
- Forensics
- Extensions to Python
- Tools
- Accessing the Database
- Logging with Python
- Multiprocessing
