Mastering Python: Write powerful and efficient code using the full range of Python's capabilities, 2nd Edition
Langue : anglais
Edité par Packt Publishing, 2022
- Livre broché
- Occasion

Vendeur : WorldofBooks, Goring-By-Sea, WS, Royaume-UniWorldofBooks
Vendeur AbeBooks depuis 16 mars 2007
Etat: Occasion - Assez bon
EUR 44,30
Quantité disponible : 1 disponible
Ajouter au panierA propos de cet article
The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged.
N° de réf. du vendeur GOR015028298
- Titre
- Mastering Python: Write powerful and efficient code using the full range of Python's capabilities, 2nd Edition
- Auteur
- Rick van Hattem
- Éditeur
- Packt Publishing
- Année de publication
- 2022
- État de l'article
- Very Good
- Reliure
- Paperback
- Langue
- anglais
- ISBN à 10 chiffres
- 1800207727
- ISBN à 13 chiffres
- 9781800207721
- Édition
- 2ème Édition
- Poids de l'article
- 1 352 grammes
Use advanced features of Python to write high-quality, readable code and packages
Key Features
- Extensively updated for Python 3.10 with new chapters on design patterns, scientific programming, machine learning, and interactive Python
- Shape your scripts using key concepts like concurrency, performance optimization, asyncio, and multiprocessing
- Learn how advanced Python features fit together to produce maintainable code
Book Description
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 advanced Python programming so you can write the highest quality code. This new edition has been extensively revised and updated with exercises, four new chapters and updates up to Python 3.10.
Revisit important basics, including Pythonic style and syntax and functional programming. Avoid common mistakes made by programmers of all experience levels. Make smart decisions about the best testing and debugging tools to use, optimize your code’s performance across multiple machines and Python versions, and deploy often-forgotten Python features to your advantage. Get fully up to speed with asyncio and stretch the language even further by accessing C functions with simple Python calls. Finally, turn your new-and-improved code into packages and share them with the wider Python community.
If you are a Python programmer wanting to improve your code quality and readability, this Python book will make you confident in writing high-quality scripts and taking on bigger challenges
What you will learn
- Write beautiful Pythonic code and avoid common Python coding mistakes
- Apply the power of decorators, generators, coroutines, and metaclasses
- Use different testing systems like pytest, unittest, and doctest
- Track and optimize application performance for both memory and CPU usage
- Debug your applications with PDB, Werkzeug, and faulthandler
- Improve your performance through asyncio, multiprocessing, and distributed computing
- Explore popular libraries like Dask, NumPy, SciPy, pandas, TensorFlow, and scikit-learn
- Extend Python’s capabilities with C/C++ libraries and system calls
Who this book is for
This book will benefit more experienced Python programmers who wish to upskill, serving as a reference for best practices and some of the more intricate Python techniques. Even if you have been using Python for years, chances are that you haven’t yet encountered every topic discussed in this book. A good understanding of Python programming is necessary
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
« Synopsis » peut appartenir à une autre édition de cet ouvrage.
À propos de l’auteur
Rick van Hattem is an experienced programmer, entrepreneur, Stack Overflow veteran, and software/database architect with more than 20 years of programming experience, including 15 years with Python. He has extensive experience with high-performance architecture featuring large amounts of concurrent users and/or data. Rick has founded several start-ups and has consulted many companies, including a few Y Combinator start-ups and several large businesses
« A propos de ce titre » peut appartenir à une autre édition de cet ouvrage.
WorldofBooks
Goring-By-Sea, WS, Royaume-Uni
Vendeur AbeBooks depuis 16 mars 2007
Frais d'expédition de Royaume-Uni vers Etats-Unis
| Article | 7 à 12 jours ouvrés | 5 à 9 jours ouvrés |
|---|---|---|
| Premier article | EUR 6,65 | EUR 14,25 |
Modes de paiement
Description de la boutique
In 2002, World of Books Group was founded on an ethos to do good, protect the planet and support charities by enabling more goods to be reused. Since then, we've grown into to a global company pioneering the circular economy. Today, we drive the circular economy through three re-commerce brands: - Wob: Through Wob, we sell. We provide affordable, preloved books and media to customers all over the world. A book leaves our collection of over seven million titles and begins a new chapter every two seconds, enabling more goods to be reused. - Ziffit: Through Ziffit, we buy. We give people around the world the opportunity to contribute to the circular economy, earn money and protect the planet, by trading their unwanted books and media. - Shopiago: Through Shopiago, we help others. By sharing the technology that has grown World of Books Group into the business it is today, we’re helping charities increase revenue and reduce waste through re-commerce.…
Spécialité
COOKERY, RECYCLE, CHARITY, USED BOOKS, MODERN, HISTORY, CHILDRENS, FICTION, CHEAP BOOKS, NON -FICTIONProfil professionnel du vendeur
World of Books Ltd
Mulberry House, Woods Way Trading Estate
Goring-By-Sea, Royaume-Uni BN12 4QY
Conditions de vente
WorldofBooks.com fully embraces the AbeBooks terms and conditions and we will do
what we can to resolve any issues.
Droit de rétractation
Si vous êtes un consommateur, vous pouvez exercer votre droit de rétractation sur le contrat conformément à ce qui suit. Le mot « consommateur » désigne toute personne physique agissant à des fins qui n'entrent pas dans le cadre de son activité commerciale, artisanale ou professionnelle.
Informations concernant le droit de rétractation
Droit statutaire de rétractation
Vous avez le droit d'exercer votre droit de rétractation sur ce contrat dans les 14 jours sans donner de raison.
Le délai de rétractation expirera au bout de 14 jours à compter du jour où vous-même, ou un tiers autre que le transporteur et désigné par vous, prendrez physiquement possession de la dernière marchandise, du dernier lot ou de la dernière pièce.
Pour exercer votre droit de rétractation, remplissez électroniquement et envoyez une déclaration claire sur notre site Web, sous « Vos achats » dans « Votre compte ». Nous vous communiquerons sans délai un accusé de réception de cette rétractation sur un support durable (par exemple, par e-mail).
Pour respecter le délai de rétractation, il vous suffit d'envoyer votre message concernant l'exercice de votre droit de rétractation avant l'expiration du délai de rétractation.
Effets de la rétractation
Si vous exercez votre droit de rétractation sur ce contrat, nous vous rembourserons tous les paiements que vous avez effectués, y compris les frais de livraison (à l'exception des frais supplémentaires résultant du choix d'un mode de livraison autre que le type de livraison standard le moins cher que nous proposons).
Nous pouvons déduire du remboursement la perte de valeur de toute marchandise livrée, si la perte est le résultat d'une manipulation inutile de votre part.
Nous effectuerons le remboursement dans les meilleurs délais, et au plus tard 14 jours après le jour où nous aurons été informés de votre décision d'exercer votre droit de rétractation sur ce contrat.
Nous effectuerons le remboursement en utilisant le même moyen de paiement que celui que vous avez utilisé pour la transaction initiale, sauf si vous en avez expressément convenu autrement ; en tout état de cause, aucuns frais ne vous seront facturés à la suite d'un tel remboursement.
Nous pouvons suspendre le remboursement jusqu'à ce que nous ayons reçu les marchandises ou que vous ayez fourni la preuve que vous avez renvoyé les marchandises, en fonction de la première éventualité.
Vous devez renvoyer les marchandises ou les remettre à WorldofBooks, Coventry, WMD, United Kingdom, sans retard injustifié et, en tout état de cause, au plus tard 14 jours à compter du jour où vous nous avez communiqué votre décision de rétractation du présent contrat. Le délai est respecté si vous renvoyez les marchandises avant l'expiration du délai de 14 jours. Vous devrez prendre en charge les frais directs du renvoi des marchandises. Vous n'êtes responsable que de toute diminution de valeur des marchandises résultant d'une manipulation autre que celle nécessaire pour établir la nature, les caractéristiques et le fonctionnement des marchandises.
Exceptions au droit de rétractation
Le droit de rétractation ne s'applique pas à ce qui suit :
- Distribution de journaux, de revues ou de magazines, à l'exception des contrats d'abonnement ; et
- Fourniture d'un contenu numérique qui n'est pas fourni sur un support matériel (par exemple, sur un CD ou un DVD) si vous avez accepté, lors de votre commande, que nous puissions commencer à le livrer et que vous ne puissiez pas exercer votre droit de rétractation une fois la livraison commencée.
Conditions d'expédition
Orders ship within 2 business days. Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.