河北地方领导给人民网网友拜年
Appearance
百度 “波澜壮阔的中华民族发展史是中国人民书写的”,人民是历史的创造者;“把人民拥护不拥护、赞成不赞成、高兴不高兴、答应不答应作为衡量一切工作得失的根本标准”,人民是政绩的阅卷人;“让实现全体人民共同富裕在广大人民现实生活中更加充分地展示出来”,人民是奋斗的出发点;“每一个人都是新时代的见证者、开创者、建设者”,人民是时代的动力之源。
This book describes Python, an open-source general-purpose interpreted programming language available for the most popular operating systems. The current versions are 3.x while versions 2.x are no longer supported, since 2020. This book describes primarily the versions 3.x, but does at times reference versions 2.x.
There are a few implementations for Python 3 (and older): the standard implementation written in C, and PyPy, a JIT-compiled version written in RPython - a subset of Python. For Python 2 only there are Jython written in Java and IronPython written in C# for the .NET environment.
Contents
[edit | edit source]Intro
[edit | edit source]Basics
[edit | edit source]- Creating Python programs
- Variables and Strings
- Basic syntax
- Sequences (Strings, Lists, Tuples, Dictionaries, Sets)
- Data types
- Basic Math -- redundant to "Operators"
- Operators
- Control Flow
- Decision Control
- Functions
- Scoping
- Input and Output
- Files
- Modules
- Classes
- Exceptions
- Errors
- Source Documentation and Comments
- Idioms
- Package management
- Python 2 vs. Python 3
Advanced
[edit | edit source]- Decorators
- Context Managers
- Reflection
- Metaclasses
- Performance
- PyPy
- Cython
- Command-line one-liners
- Tips and Tricks
Modules
[edit | edit source]Standard library modules
[edit | edit source]- Standard Library
- Regular Expression
- External commands
- XML Tools
- Threading
- Sockets
- GUI Programming
- Tkinter
- CGI interface
- WSGI web programming
- Internet
- Networks
- Math
Third-party modules
[edit | edit source]- Databases -- to be merged with the following chapter
- Database Programming
- numpy
- Game Programming in Python
- Qt4
- Dbus
- pyFormex
- matplotlib
- Sorted Container Types
- Excel
- MS Word
Writing extension modules
[edit | edit source]Appendices
[edit | edit source]See also
[edit | edit source]- Non-Programmer's Tutorial for Python 2.6
- Non-Programmer's Tutorial for Python 3
- Python as a scripting language in GIMP