Mastering Python write powerful and efficient code using the full range of Python's capabilities

Even if you find writing Python code easy, writing code that is efficient, maintainable, and reusable is not so straightforward. Many of Python's capabilities are underutilized even by more experienced programmers. Mastering Python, Second Edition, is an authoritative guide to understanding adv...

Descripción completa

Detalles Bibliográficos
Otros Autores: Hattem, Rick van, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: [Birmingham, United Kingdom] : Packt [2022]
Edición:Second edition
Colección:Expert insight.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009664716406719
Tabla de Contenidos:
  • Table of Contents Getting Started – One Environment per Project Interactive Python Interpreters Pythonic Syntax and Common Pitfalls Pythonic Design Patterns Functional Programming – Readability Versus Brevity Decorators – Enabling Code Reuse by Decorating Generators and Coroutines – Infinity, One Step at a Time Metaclasses – Making Classes (Not Instances) Smarter Documentation – How to Use Sphinx and reStructuredText Testing and Logging – Preparing for Bugs Debugging – Solving the Bugs Performance – Tracking and Reducing Your Memory and CPU Usage asyncio – Multithreading without Threads Multiprocessing – When a Single CPU Core Is Not Enough Scientific Python and Plotting Artificial Intelligence Extensions in C/C++, System Calls, and C/C++ Libraries Packaging – Creating Your Own Libraries or Applications.