Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Secret Recipes of the Python Ninja: Over 70 recipes that uncover powerful programming tactics in Python

Buy

Test your Python programming skills by solving real-world problems

Key Features

  • Access built-in documentation tools and improve your code.
  • Discover how to make the best use of decorator and generator functions
  • Enhance speed and improve concurrency by conjuring tricks from the PyPy project

Book Description

This book covers the unexplored secrets of Python, delve into its depths, and uncover its mysteries.

You'll unearth secrets related to the implementation of the standard library, by looking at how modules actually work. You'll understand the implementation of collections, decimals, and fraction modules. If you haven't used decorators, coroutines, and generator functions much before, as you make your way through the recipes, you'll learn what you've been missing out on.

We'll cover internal special methods in detail, so you understand what they are and how they can be used to improve the engineering decisions you make. Next, you'll explore the CPython interpreter, which is a treasure trove of secret hacks that not many programmers are aware of. We'll take you through the depths of the PyPy project, where you'll come across several exciting ways that you can improve speed and concurrency.

Finally, we'll take time to explore the PEPs of the latest versions to discover some interesting hacks.

What you will learn

  • Know the differences between .py and .pyc files
  • Explore the different ways to install and upgrade Python packages
  • Understand the working of the PyPI module that enhances built-in decorators
  • See how coroutines are different from generators and how they can simulate multithreading
  • Grasp how the decimal module improves floating point numbers and their operations
  • Standardize sub interpreters to improve concurrency
  • Discover Python's built-in docstring analyzer

Who This Book Is For

Whether you've been working with Python for a few years or you're a seasoned programmer, you'll have a lot of new tricks to walk away with.

Table of Contents

  1. Working with Python Modules
  2. Utilizing the Python Interpreter
  3. Working with Decorators
  4. Using Python Collections
  5. Generators, Coroutines, and Parallel Processing
  6. Working with Python's Math Module
  7. Improving Python Performance with PyPy
  8. Python Enhancement Proposals
  9. Documenting with LyX
(HTML tags aren't allowed.)

Meaning Diminished: Toward Metaphysically Modest Semantics
Meaning Diminished: Toward Metaphysically Modest Semantics
Meaning Diminished examines the complex relationship between semantic analysis and metaphysical inquiry. Kenneth A. Taylor argues that we should expect linguistic and conceptual analysis of natural language to yield far less metaphysical insight into what there is - and the nature of what there is - than many philosophers have...
Batman and Ethics
Batman and Ethics

Batman has been one of the world’s most beloved superheroes since his first appearance in Detective Comics #27 in 1939. Clad in his dark cowl and cape, he has captured the imagination of millions with his single-minded mission to create a better world for the people of Gotham City by fighting crime, making use of expert...

Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming
Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming

Immerse yourself in learning Python and introductory data analytics with this book’s project-based approach. Through the structure of a ten-week coding bootcamp course, you’ll learn key concepts and gain hands-on experience through weekly projects.

Each chapter in this book is presented as a full week of...


Seamless Learning: Perspectives, Challenges and Opportunities (Lecture Notes in Educational Technology)
Seamless Learning: Perspectives, Challenges and Opportunities (Lecture Notes in Educational Technology)

This book introduces readers to the latest state of research and development in seamless learning. It consolidates various approaches to and practices in seamless learning from a range of techno-pedagogical, socio-situated and socio-cultural perspectives. Further, it details our current understanding of learning...

Expert Python Programming: Become a master in Python by learning coding best practices and advanced programming concepts in Python 3.7, 3rd Edition
Expert Python Programming: Become a master in Python by learning coding best practices and advanced programming concepts in Python 3.7, 3rd Edition

Refine your Python programming skills and build professional grade applications with this comprehensive guide

Key Features

  • Create manageable code that can run in various environments with different sets of dependencies
  • Implement effective Python data structures and...
Solving Fermi's Paradox (Cambridge Astrobiology)
Solving Fermi's Paradox (Cambridge Astrobiology)
The search for extra-terrestrial intelligence (SETI) has for sixty years attempted to solve Fermi's paradox: if intelligent life is relatively common in the universe, where is everybody? Examining SETI through this lens, this volume summarises current thinking on the prevalence of intelligent life in the universe, and discusses sixty-six...
©2019 LearnIT (support@pdfchm.net) - Privacy Policy