Python Pocket Reference. Python in Your Pocket. 4th Edition - Helion
ISBN: 978-14-493-7933-9
stron: 210, Format: ebook
Data wydania: 2009-10-08
Księgarnia: Helion
Cena książki: 46,74 zł (poprzednio: 54,99 zł)
Oszczędzasz: 15% (-8,25 zł)
This is the book to reach for when you're coding on the fly and need an answer now. It's an easy-to-use reference to the core language, with descriptions of commonly used modules and toolkits, and a guide to recent changes, new features, and upgraded built-ins -- all updated to cover Python 3.X as well as version 2.6. You'll also quickly find exactly what you need with the handy index.
Written by Mark Lutz -- widely recognized as the world's leading Python trainer -- Python Pocket Reference, Fourth Edition, is the perfect companion to O'Reilly's classic Python tutorials, also written by Mark: Learning Python and Programming Python.
- Built-in object types, including numbers, lists, dictionaries, and more
- Statements and syntax for creating and processing objects
- Functions and modules for structuring and reusing code
- Python's object-oriented programming tools
- The exception-handling model
- Built-in functions, exceptions, and attributes
- Special operator overloading methods
- Widely used standard library modules and extensions
- Command-line options and development tools
- Python idioms and hints
Osoby które kupowały "Python Pocket Reference. Python in Your Pocket. 4th Edition", wybierały także:
- GraphQL. Kurs video. Buduj nowoczesne API w Pythonie 169,00 zł, (50,70 zł -70%)
- Receptura na Python. Kurs Video. 54 praktyczne porady dla programist 199,00 zł, (59,70 zł -70%)
- Podstawy Pythona z Minecraftem. Kurs video. Piszemy pierwsze skrypty 149,00 zł, (44,70 zł -70%)
- Twórz gry w Pythonie. Kurs video. Poznaj bibliotekę PyGame 249,00 zł, (74,70 zł -70%)
- Data Science w Pythonie. Kurs video. Algorytmy uczenia maszynowego 199,00 zł, (59,70 zł -70%)
Spis treści
Python Pocket Reference. Python in Your Pocket. 4th Edition eBook -- spis treści
- Python Pocket Reference
- 1. Python Pocket Reference
- Introduction
- Conventions
- Using Code Examples
- Safari Books Online
- Command-Line Options
- Python Options
- Program Specification
- Environment Variables
- Operational Variables
- Command-Line Option Variables
- Built-in Types and Operators
- Operators and Precedence
- Operator Usage Notes
- 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 and creation
- Operations
- Decimal and fraction
- Other numeric types
- Strings
- Literals and creation
- Operations
- String formatting
- String formatting expression
- String formatting method
- Template string substitution
- String methods
- byte and bytearray methods
- Searching
- Splitting and joining
- Formatting
- Content tests
- The original string module
- Unicode Strings
- Unicode support in Python 3.0
- byte and bytearray strings
- Unicode support in Python 2.X
- Lists
- Literals and creation
- Operations
- List comprehension expressions
- Generator expressions
- Other generators and comprehensions
- Dictionaries
- Literals and creation
- Operations
- Tuples
- Literals
- Operations
- Files
- Input files
- Output files
- Any files
- Attributes (all read-only)
- File context managers
- Notes
- Sets
- Literals and creation
- Operations
- Other Common Types
- Boolean
- Type Conversions
- Numbers
- Statements and Syntax
- Syntax Rules
- Name Rules
- Name format
- Name conventions
- Specific Statements
- The Assignment Statement
- Augmented assignment
- Normal and extended sequence assignment
- The Expression Statement
- Call syntax
- Arbitrary arguments call syntax
- The print Statement
- Python 2.X print statements
- The if Statement
- The while Statement
- The for Statement
- The pass Statement
- The break Statement
- The continue Statement
- The del Statement
- The def Statement
- Python 3.0 keyword-only arguments
- Python 3.0 function annotations
- lambda expressions
- Defaults and attributes
- Function and method decorators
- The return Statement
- The yield Statement
- Generators and iterators
- The global Statement
- The nonlocal Statement
- The import Statement
- Package imports
- The from Statement
- Package relative import syntax
- The class Statement
- Class decorators in Python 2.6 and 3.0
- Metaclasses
- The try Statement
- Python 2.X try statement forms
- The raise Statement
- Class exceptions
- Python 2.X raise statement forms
- The assert Statement
- The with Statement
- Multiple context managers in Python 3.1
- Python 2.X Statements
- The Assignment 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
- Pseudoprivate Attributes
- Module privates
- Class privates
- New Style Classes
- Classes and Instances
- 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)
- For Descriptors
- For Context Managers
- Python 2.X Operator Overloading Methods
- Methods in Python 3.0 only
- Methods in Python 2.X only
- Built-in Functions
- Python 2.X Built-in Functions
- Python 3.0 built-ins not supported by Python 2.6
- Python 2.6 built-ins not supported by Python 3.0
- Python 2.X Built-in Functions
- Built-in Exceptions
- Superclasses (Categories)
- Specific Exceptions Raised
- Warning Category Exceptions
- Warnings Framework
- Python 2.X Built-in Exceptions
- Built-in Attributes
- Standard Library Modules
- The sys Module
- The string Module
- Module Functions and Classes
- 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
- dbm and shelve Modules
- pickle Module
- Pickling interfaces
- Unpickling interfaces
- Usage notes
- The tkinter GUI Module and Tools
- tkinter Example
- tkinter Core Widgets
- Common Dialog Calls
- Module tkinter.messagebox (tkMessageBox in Python 2.X)
- Module tkinter.simpledialog (tkSimpleDialog in Python 2.X)
- Module tkinter.colorchooser (tkColorChooser in Python 2.X)
- Module tkinter.filedialog (tkFileDialog in Python 2.X)
- Additional tkinter Classes and Tools
- Tcl/Tk-to-Python/tkinter Mappings
- Internet Modules and Tools
- Commonly Used Library Modules
- Other Standard Library 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
- About the Author
- Copyright