Book

Mastering Python

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

16h12m

Language

English

About Book

Who Is This Book For?

Almost anyone can learn to write working script and create high quality code but they might lack a structured understanding of what it means to be 'Pythonic'. If you are a Python programmer who wants to code efficiently by getting the syntax and usage of a few intricate Python techniques exactly right, this book is for you.

Book content

chapters 16h12m total length

Getting started, one environment per project

Pythonic syntax, common pitfalls and style guide

Containers and collections

Functional programming, readability versus brevity

Decorators, enabling code reuse by decorating

Generators and coroutines, infinity, one step at a time

Async IO, multithreading without threads

Metaclasses, making classes (not instances) smarter

Documentation, reStructuredText, Napoleon and how to use Sphinx

Testing and logging, preparing for bugs

Debugging, solving the bugs

Performance, tracking and reducing your memory and cpu usage

Multiprocessing, when a single cpu core is not enough

Extensions in C/C++, system calls and C/C++ libraries

Packaging, creating your own libraries/applications

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required