Items related to Mastering Python

Mastering Python - Softcover

  • 3.97 out of 5 stars
    32 ratings by Goodreads
 
9781785289729: Mastering Python

Synopsis

Master the art of writing beautiful and powerful Python by using all of the features that Python 3.5 offers

About This Book

  • Become familiar with the most important and advanced parts of the Python code style
  • Learn the trickier aspects of Python and put it in a structured context for deeper understanding of the language
  • Offers an expert's-eye overview of how these advanced tasks fit together in Python as a whole along with practical examples

What You Will Learn

  • Create a virtualenv and start a new project
  • Understand how and when to use the functional programming paradigm
  • Get familiar with the different ways the decorators can be written in
  • Understand the power of generators and coroutines without digressing into lambda calculus
  • Create metaclasses and how it makes working with Python far easier
  • Generate HTML documentation out of documents and code using Sphinx
  • Learn how to track and optimize application performance, both memory and cpu
  • Use the multiprocessing library, not just locally but also across multiple machines
  • Get a basic understanding of packaging and creating your own libraries/applications

In Detail

Python is a dynamic programming language. It is known for its high readability and hence it is often the first language learned by new programmers. Python being multi-paradigm, it can be used to achieve the same thing in different ways and it is compatible across different platforms. Even if you find writing Python code easy, writing code that is efficient, easy to maintain, and reuse is not so straightforward.

This book is an authoritative guide that will help you learn new advanced methods in a clear and contextualised way. It starts off by creating a project-specific environment using venv, introducing you to different Pythonic syntax and common pitfalls before moving on to cover the functional features in Python. It covers how to create different decorators, generators, and metaclasses. It also introduces you to functools.wraps and coroutines and how they work. Later on you will learn to use asyncio module for asynchronous clients and servers. You will also get familiar with different testing systems such as py.test, doctest, and unittest, and debugging tools such as Python debugger and faulthandler. You will learn to optimize application performance so that it works efficiently across multiple machines and Python versions. Finally, it will teach you how to access C functions with a simple Python call. By the end of the book, you will be able to write more advanced scripts and take on bigger challenges.

Style and Approach

This book is a comprehensive guide that covers advanced features of the Python language, and communicate them with an authoritative understanding of the underlying rationale for how, when, and why to use them.

Table of Contents

  1. Getting Started - One Environment per Project
  2. Pythonic Syntax, Common Pitfalls, and Style Guide
  3. Containers and Collections - Storing Data the Right Way
  4. Functional Programming - Readability Versus Brevity
  5. Decorators - Enabling Code Reuse by Decorating
  6. Generators and Coroutines - Infi nity, One Step at a Time
  7. Async IO - Multithreading without Threads
  8. Metaclasses - Making Classes (Not Instances) Smarter
  9. Documentation - How to Use Sphinx and reStructuredText
  10. Testing and Logging - Preparing for Bugs
  11. Debugging - Solving the Bugs
  12. Performance - Tracking and Reducing Your Memory and CPU Usage
  13. Multiprocessing - When a Single CPU Core Is not Enough
  14. Extensions in C/C++, System Calls, and C/C++ Libraries
  15. Packaging - Creating Your Own Libraries or Applications

"synopsis" may belong to another edition of this title.

About the Author

Rick van Hattem is an experienced programmer, entrepreneur, and software/database architect with over 20 years of programming experience, including 15 with Python. Additionally, he has a lot of experience with high-performance architectures featuring large amounts of concurrent users and/or data. Rick has founded several start-ups and has done consulting for many companies, including a few Y Combinator start-ups and several large companies. One of the startups he founded, Fashiolista.com, is one of the largest social networks for fashion in the world, featuring millions of users and the performance challenges to accompany those. Rick was one of the reviewers on the book PostgreSQL Server Programming, Packt Publishing.

"About this title" may belong to another edition of this title.

  • PublisherPackt Publishing
  • Publication date2016
  • ISBN 10 1785289721
  • ISBN 13 9781785289729
  • BindingPaperback
  • LanguageEnglish
  • Number of pages486
  • Rating
    • 3.97 out of 5 stars
      32 ratings by Goodreads

Buy Used

Condition: Good
Connecting readers with great books... View this item

Shipping: US$ 3.75
Within U.S.A.

Destination, rates & speeds

Add to basket

Search results for Mastering Python

Stock Image

Hattem, Rick van
Published by Packt Publishing, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
Used Paperback

Seller: HPB-Red, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_333471805

Contact seller

Buy Used

US$ 6.12
Convert currency
Shipping: US$ 3.75
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Van Hattem, Rick; Milovanovic, Igor
Published by Packt Publishing, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
Used Paperback

Seller: ThriftBooks-Dallas, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 2.05. Seller Inventory # G1785289721I4N00

Contact seller

Buy Used

US$ 10.11
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Van Hattem, Rick; Milovanovic, Igor
Published by Packt Publishing, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
New Softcover

Seller: Lucky's Textbooks, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # ABLIING23Mar2912160169089

Contact seller

Buy New

US$ 43.85
Convert currency
Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Rick van Hattem
Published by Packt Publishing Limited, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
New PAP
Print on Demand

Seller: PBShop.store US, Wood Dale, IL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781785289729

Contact seller

Buy New

US$ 56.26
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Rick van Hattem
Published by Packt Publishing Limited, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
New PAP
Print on Demand

Seller: PBShop.store UK, Fairford, GLOS, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781785289729

Contact seller

Buy New

US$ 49.28
Convert currency
Shipping: US$ 8.78
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

van Hattem, Rick
Published by Packt Publishing 2016-04, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
New PF

Seller: Chiron Media, Wallingford, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

PF. Condition: New. Seller Inventory # 6666-IUK-9781785289729

Contact seller

Buy New

US$ 42.87
Convert currency
Shipping: US$ 20.13
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 10 available

Add to basket

Stock Image

Van Hattem, Rick; Milovanovic, Igor
Published by Packt Publishing, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
New Softcover

Seller: Ria Christie Collections, Uxbridge, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. In. Seller Inventory # ria9781785289729_new

Contact seller

Buy New

US$ 48.45
Convert currency
Shipping: US$ 15.57
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Rick van Hattem
Published by Packt Publishing Limited, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
New Paperback / softback
Print on Demand

Seller: THE SAINT BOOKSTORE, Southport, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback / softback. Condition: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days 981. Seller Inventory # C9781785289729

Contact seller

Buy New

US$ 54.64
Convert currency
Shipping: US$ 21.52
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Seller Image

Hattem, Rick van|Milovanovic, Igor
Published by Packt Publishing, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
New Softcover

Seller: moluna, Greven, Germany

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # 464170681

Contact seller

Buy New

US$ 56.55
Convert currency
Shipping: US$ 55.16
From Germany to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Seller Image

Rick van Hattem
Published by Packt Publishing, 2016
ISBN 10: 1785289721 ISBN 13: 9781785289729
New Taschenbuch
Print on Demand

Seller: AHA-BUCH GmbH, Einbeck, Germany

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Taschenbuch. Condition: Neu. nach der Bestellung gedruckt Neuware - Printed after ordering. Seller Inventory # 9781785289729

Contact seller

Buy New

US$ 79.91
Convert currency
Shipping: US$ 36.58
From Germany to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket