
Python Pocket Reference
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions
Content
- Intro
- Contents
- Python Pocket Reference
- Introduction
- Conventions
- Command-Line Options
- Python Options
- Program Specification
- Environment Variables
- Built-in Types and Operators
- Operators and Precedence
- Operations by Category
- Sequence Operation Notes
- Indexing: S[i]
- Slicing: S[i:j]
- Slicing: S[i:j:k]
- Other
- Specific Built-in Types
- Numbers
- Literals
- Operations
- Strings
- Literals
- Operations
- String formatting
- Template string substitution
- String methods
- Searching
- Splitting and joining
- Formatting
- Content tests
- The original string module
- Unicode Strings
- Literals
- Operations
- Lists
- Literals and creation
- Operations
- List comprehension expressions
- Generator expressions
- Dictionaries
- Literals and creation
- Operations
- Tuples
- Literals
- Operations
- Files
- Input files
- Output files
- Any files
- Attributes (all read-only)
- Notes
- Other Common Types
- Boolean
- Sets
- Decimal
- Type Conversions
- Statements and Syntax
- Syntax Rules
- Name Rules
- Name format
- Name conventions
- Specific Statements
- Assignment
- Augmented assignment
- Expressions
- apply( )-like call syntax
- The print Statement
- Extended print form
- The if Statement
- The while Statement
- The for Statement
- The pass Statement
- The break Statement
- The continue Statement
- The del Statement
- The exec Statement
- The def Statement
- lambda expressions
- Function and method decorators
- The return Statement
- The yield Statement
- Generators and iterators
- The global Statement
- The import Statement
- Package imports
- The from Statement
- The class Statement
- The try Statement
- The raise Statement
- Class exceptions
- The assert Statement
- Namespace and Scope Rules
- Qualified Names: Object Namespaces
- Unqualified Names: Lexical Scopes
- Statically Nested Scopes
- Object-Oriented Programming
- Classes and Instances
- Class objects provide default behavior
- Instance objects are generated from classes
- Inheritance rules
- Pseudo-Private Attributes
- Module privates
- Class privates
- New Style Classes
- Operator Overloading Methods
- For All Types
- For Collections (Sequences, Mappings)
- For Numbers (Binary Operators)
- Basic binary methods
- Right-side binary methods
- Augmented binary methods
- For Numbers (Other Operations)
- Built-in Functions
- Built-in Exceptions
- Base Classes (Categories)
- Specific Exceptions Raised
- Warning Category Exceptions
- Warnings Framework
- Built-in Attributes
- Built-in Modules
- The sys Module
- The string Module
- Module Functions
- Constants
- The os System Module
- Administrative Tools
- Portability Constants
- Shell Commands
- Environment Tools
- File Descriptor Tools
- File Pathname Tools
- Process Control
- The os.path Module
- The re Pattern-Matching Module
- Module Functions
- Regular Expression Objects
- Match Objects
- Pattern Syntax
- Object Persistence Modules
- anydbm and shelve Interfaces
- Notes
- pickle Interface
- Notes
- Tkinter GUI Module and Tools
- Tkinter Example
- Tkinter Core Widgets
- Common Dialog Calls
- Module tkMessageBox
- Module tkSimpleDialog
- Module tkColorChooser
- Module tkFileDialog
- Additional Tkinter Classes and Tools
- Tcl/Tk-to-Python/Tkinter Mappings
- Internet Modules and Tools
- Commonly Used Library Modules
- Other Built-in Modules
- The math Module
- The time Module
- The datetime Module
- Threading Modules
- Binary Data Parsing
- Python Portable SQL Database API
- API Usage Example
- Module Interface
- Connection Objects
- Cursor Objects
- Type Objects and Constructors
- Python Idioms and Hints
- Core Language Hints
- Environment Hints
- Usage Hints
- Assorted Hints
- Index
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.