Expert Python programming : become a master in Python by learning coding best practices and advanced programming concepts in Python 3.7 / Michal Jaworski and Tarek Ziadé.
Material type:
- text
- unmediated
- volume
- 1789808898
- 9781789808896
- 005.133 23
Item type | Current library | Collection | Call number | Status | Date due | Barcode | Item holds |
---|---|---|---|---|---|---|---|
Book | Högskolan Väst Våning 2 | Våning 2 | 005.133 Python | Available | 6004300073480 |
Includes index.
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 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
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.
Imported from: zcat.oclc.org:210/OLUCWorldCat (Do not remove)