This book describes Python, an open-source general-purpose interpreted programming language available for a broad range of operating systems. There are currently four major implementations: the standard implementation written in C, Jython written in Java, IronPython written in C# for the .NET environment and PyPy, a JIT-compiled version written in RPython - a subset of Python. The current versions are 3.x with 2.x being deprecated and no longer maintained starting 1st January 2020. This book describes primarily version 2, but does at times reference changes in version 3.
Contents
Intro
Basics
- 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
- Text
- Modules
- Classes
- Exceptions
- Errors
- Source Documentation and Comments
- Idioms
- Package management
- Python 2 vs. Python 3
Advanced
Modules
Standard library modules
Third-party modules
- 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
Appendices
See also
- Non-Programmer's Tutorial for Python 2.6
- Non-Programmer's Tutorial for Python 3
- Python as a scripting language in GIMP
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.