Mastering Python

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

Author
Publisher Packt Publishing Ltd
Release Date
ISBN 1800202105
Pages 710 pages
Rating 4/5 (08 users)

More Books:

Mastering Python
Language: en
Pages: 710
Authors: Rick van Hattem
Categories: Computers
Type: BOOK - Published: 2022-05-20 - Publisher: Packt Publishing Ltd

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 p
Applied Univariate, Bivariate, and Multivariate Statistics Using Python
Language: en
Pages: 304
Authors: Daniel J. Denis
Categories: Mathematics
Type: BOOK - Published: 2021-07-14 - Publisher: John Wiley & Sons

Applied Univariate, Bivariate, and Multivariate Statistics Using Python A practical, “how-to” reference for anyone performing essential statistical analyses
Image Processing and Acquisition using Python
Language: en
Pages: 390
Authors: Ravishankar Chityala
Categories: Technology & Engineering
Type: BOOK - Published: 2014-02-19 - Publisher: CRC Press

Image Processing and Acquisition using Python provides readers with a sound foundation in both image acquisition and image processing—one of the first books t
Implementing Cryptography Using Python
Language: en
Pages: 304
Authors: Shannon Bray
Categories: Computers
Type: BOOK - Published: 2020-07-15 - Publisher: John Wiley & Sons

Learn to deploy proven cryptographic tools in your applications and services Cryptography is, quite simply, what makes security and privacy in the digital world
Python for Developers
Language: en
Pages: 420
Authors: Mohit Raj
Categories: Computers
Type: BOOK - Published: 2019-12-21 - Publisher: BPB Publications

TAGLINE Master python programming language in easy steps DESCRIPTION It is said that learning Python is easy, but if a learner did not get the right path, then
Beyond the Basic Stuff with Python
Language: en
Pages: 384
Authors: Al Sweigart
Categories: Computers
Type: BOOK - Published: 2020-12-16 - Publisher: No Starch Press

BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL You've completed a basic Python programming tutorial or finished Al Sweigart's bestseller, Automate the Boring St
Numerical Python
Language: en
Pages: 487
Authors: Robert Johansson
Categories: Computers
Type: BOOK - Published: 2015-10-07 - Publisher: Apress

Numerical Python by Robert Johansson shows you how to leverage the numerical and mathematical modules in Python and its Standard Library as well as popular open
Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps
Language: en
Pages: 38
Authors: Jason Scotts
Categories: Computers
Type: BOOK - Published: 2013-11-02 - Publisher: Speedy Publishing LLC

Are you fed up with reading long, boring, lengthy paragraphs after paragraphs of text and want to get up and running in Python as soon as possible? Well, you're
Python Machine Learning
Language: en
Pages: 130
Authors: Railey Brandon
Categories: Computers
Type: BOOK - Published: 2019-04-25 - Publisher: Roland Bind

★☆Have you come across the terms machine learning and neural networks in most articles you have recently read? Do you also want to learn how to build a mach
Python
Language: en
Pages: 184
Authors: Zach Webber
Categories:
Type: BOOK - Published: 2018-11-04 - Publisher: Independently Published

Explore The World of Python Programming Beginner Working with the Python coding language is a great experience. It allows you to learn how to work with your own