Edition |
Third edition. |
Description |
1 online resource (628 pages) |
|
data file rda |
Series |
Community experience distilled.
|
Contents |
Cover; Title Page; Copyright and Credits; Dedication; About Packt; Contributors; Table of Contents; Preface; Section 1: Before You Start; Chapter 1: Current Status of Python; Technical requirements; Where are we now and where we are going to?; Why and how Python changes; Being up-to-date with changes and#x00AD;by following PEP documents; Python 3 adoption at the time of writing this book; The main differences between Python 3 and Python 2; Why should I care?; The main syntax differences and common pitfalls; Syntax changes; Changes in the standard library |
|
Changes in data types and collections and string literalsThe popular tools and techniques used for maintaining cross-version compatibility; Not only CPython; Why should I care?; Stackless Python; Jython; IronPython; PyPy; MicroPython; Useful resources; Summary; Chapter 2: Modern Python Development Environments; Technical requirements; Installing additional Python packages using pip; Isolating the runtime environment; Application-level isolation versus system-level isolation; Python's venv; venv versus virtualenv; System-level environment isolation |
|
Virtual development environments using VagrantVirtual environments using Docker; Containerization versus virtualization; Writing your first Dockerfile; Running containers; Setting up complex environments; Useful Docker recipes for Python; Reducing the size of containers; Addressing services inside of a Compose environment; Communicating between multiple Compose environments; Popular productivity tools; Custom Python shells -- ipython, bpython, ptpython, and so on; Setting up the PYTHONSTARTUP environment variable; IPython; bpython; ptpython |
|
Incorporating shells in your own scripts and programsInteractive debuggers; Summary; Section 2: Python Craftsmanship; Chapter 3: Modern Syntax Elements -- Below the Class Level; Technical requirements; Python's built-in types; Strings and bytes; Implementation details; String concatenation; Constant folding, the peephole optimizer, and the AST optimizer; String formatting with f-strings; Containers; Lists and tuples; Implementation details; List comprehensions; Other idioms; Dictionaries; Implementation details; Weaknesses and alternatives; Sets; Implementation details |
|
Supplemental data types and containersSpecialized data containers from the collections module; Symbolic enumeration with the enum module; Advanced syntax; Iterators; Generators and yield statements; Decorators; General syntax and possible implementations; As a function; As a class; Parametrizing decorators; Introspection preserving decorators; Usage and useful examples; Argument checking; Caching; Proxy; Context provider; Context managers -- the with statement; The general syntax and possible implementations; As a class; As a function -- the contextlib module |
Note |
Functional-style features of Python |
Summary |
Expert Python Programming, Third Edition is a collection of valuable tips that will help you build robust and scalable applications in Python. These will help you become confident at solving challenging programming problems effectively. |
Note |
Includes index. |
|
Print version record. |
Subject |
Python (Computer program language)
|
|
Application software -- Development.
|
|
Application software -- Development.
(OCoLC)fst00811707
|
|
Python (Computer program language) (OCoLC)fst01084736
|
Added Author |
Ziadé, Tarek.
|
Other Form: |
Print version: Jaworski, Michał. Expert Python Programming, : Become a Master in Python by Learning Coding Best Practices and Advanced Programming Concepts in Python 3. 7, 3rd Edition. Birmingham : Packt Publishing, Limited, ©2019 9781789808896 |
ISBN |
9781789806779 (electronic book) |
|