Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Modern Python Cookbook
Modern Python Cookbook

Modern Python Cookbook: 133 recipes to develop flawless and expressive programs in Python 3.8 , Second Edition

eBook
£56.99
Paperback
£71.99
Subscription
Free Trial
Renews at £9.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • Develop expressive and effective Python programs
  • Best practices and common idioms through carefully explained recipes
  • Discover new ways to apply Python for data-focused development
  • Make use of Python’s optional type annotations

Description

Python is the preferred choice of developers, engineers, data scientists, and hobbyists everywhere. It is a great language that can power your applications and provide great speed, safety, and scalability. It can be used for simple scripting or sophisticated web applications. By exposing Python as a series of simple recipes, this book gives you insight into specific language features in a particular context. Having a tangible context helps make the language or a given standard library feature easier to understand. This book comes with 133 recipes on the latest version of Python 3.8. The recipes will benefit everyone, from beginners just starting out with Python to experts. You'll not only learn Python programming concepts but also how to build complex applications. The recipes will touch upon all necessary Python concepts related to data structures, object oriented programming, functional programming, and statistical programming. You will get acquainted with the nuances of Python syntax and how to effectively take advantage of it. By the end of this Python book, you will be equipped with knowledge of testing, web services, configuration, and application integration tips and tricks. You will be armed with the knowledge of how to create applications with flexible logging, powerful configuration, command-line options, automated unit tests, and good documentation.

Who is this book for?

The Python book is for web developers, programmers, enterprise programmers, engineers, and big data scientists. If you are a beginner, this book will get you started. If you are experienced, it will expand your knowledge base. A basic knowledge of programming would help.

What you will learn

  • See the intricate details of the Python syntax and how to use it to your advantage
  • Improve your coding with Python readability through functions
  • Manipulate data effectively using built-in data structures
  • Get acquainted with advanced programming techniques in Python
  • Equip yourself with functional and statistical programming features
  • Write proper tests to be sure a program works as advertised
  • Integrate application software using Python

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jul 31, 2020
Length: 822 pages
Edition : 2nd
Language : English
ISBN-13 : 9781800205802
Category :
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jul 31, 2020
Length: 822 pages
Edition : 2nd
Language : English
ISBN-13 : 9781800205802
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£9.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
£99.99 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts
£139.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 142.97
40 Algorithms Every Programmer Should Know
£37.99
Python Automation Cookbook
£32.99
Modern Python Cookbook
£71.99
Total £ 142.97 Stars icon
Visually different images

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8
(15 Ratings)
5 star 80%
4 star 20%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




John Wells Feb 02, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
My son was very pleased with this for Christmas.
Amazon Verified review Amazon
Stephan Miller Sep 20, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I do like code cookbooks, because they are packed with dense information. You can turn to any page and learn something new. And this book has some good recipes. The type of code you will find yourself writing over and over again. A few of the recipes I actually remembering searching for and ending up on Stack Overflow.The book has 15 chapters on topics ranging from the simple ones on basic string manipulation to more complex topics like linear regression.The format is easy to read and understand and doesn't come with the extra fluff and setup procedures that you find filling half of most coding books. It is a great book for Python beginners to browse and pickup new coding techniques and get familiar with Python idioms.
Amazon Verified review Amazon
crystalattice Aug 17, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
While I don't particularly like the code-as-cookbook structure, the key factor is: does the material provide useful functionality to the reader? In this book, the answer is yes.I've been programming in Python since 2005 or so. While some of the information I know from experience and having to learn it for inclusion in my own books, there is always something new to learn. In this case, there are some aspects of Python and programming that I didn't know before, and there are some things that I've been aware of but never had a need to use them.In some cases, there are recipes that do provide added-value to the reader in terms of shortcuts or best-practices that improved coding efficiency, reduce programming time, or simply expand the knowledge of the reader.Some of the most useful information, I think, for new Python programmers is type hints. While not necessary, they do provide some backup in terms of data type verification. Essentially, they allow programmers to utilize the dynamic capabilities of Python while incorporating some of the "type safety" of static-typed languages. You aren't forced to use them, and you can ignore the warnings, but from personal experience, they do help when troubleshooting.As an added note, if you learn Python type hints, then learning Rust is actually pretty easy. The syntax of Rust is very much like Python with type hints, so it's actually easier for a Python programmer to learn Rust than a C/C++ programmer, at least based on Internet comments.Some of the information in the book is pretty basic; things you would expect to see in any introductory book, such as working with lists and dictionaries. It doesn't mean it's bad, just that there are portions of the book that intermediate and advanced Python programmers can probably skip over.On the other hand, there are always those little nuggets of information that you either forgot about or didn't know about, so I would at least recommend skimming those sections to see if there is anything useful you can glean from them.Functional programming gets an entire chapter, which is good. Frequently, books will discuss functional programming when the examples demand it. This can result in hunting to find what you need, as functional programming isn't a common paradigm outside of certain languages. Having a whole chapter dedicated to it makes it easier to understand the how and why of functional programming.Finally, some commonly overlooked programming aspects are covered: testing, statistical programming, web development, and application integration. While some (very thick) books may incorporate these topics (and this is a thick book at 800+ pages), it's always good to see these mentioned.It's hard to program nowadays without having to deal with web services, so even the basics of web development are appreciated. Testing is also not commonly taught in CS curriculums or even in general purpose programming books, so proper unit testing is a valuable skill to have. And the push for data science means knowing just the basics of statistics with Python opens up new avenues for knowledge expansion.Overall, this book straddles the line of introduction to Python and "cheat sheet" for advanced programming. It's a very nice supplement to any number of basic Python books and can be used as a reference or template for development.
Amazon Verified review Amazon
Sri Ahimsa Jun 11, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I like the examples and explanations. While no single book can overcome a student's complete ignorance, this is filling in gaps I didn't know existed.
Amazon Verified review Amazon
Alexander Afanasyev Aug 19, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book, written and reviewed by the "dinosaurs" of the industry and the "founding fathers" of Python itself, covered such a wide range of topics, starting from the basics of the syntax of the language and ending with Statistical Programming and Application Development. Did not expect to see that much of the scope covered in a single book.One unique feature of the book I'd like to highlight is this presence of the bigger picture and "why" for every topic explained in the book - why this was done one way and not the other, what role does it play and why is smth important. These reflections really helped me always have the context of why I want (or don't want) to learn a particular subject.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.