English | 2019 | ISBN: 1484243848 | 458 Pages | True PDF, EPUB | 10 MB
Refine your programming techniques and approaches to become a more productive and creative Python programmer. This book explores the concepts and features that will improve not only your code but also your understanding of the Python community with insights and details about the Python philosophy.
Pro Python 3, Third Edition gives you the tools to write clean, innovative code. It starts with a review of some core Python principles, which are illustrated by various concepts and examples later in the book. The first half of the book explores aspects of functions, classes, protocols, and strings, describing techniques which may not be common knowledge, but which together form a solid foundation. Later chapters cover documentation, testing, and app distribution. Along the way, you’ll develop a complex Python framework that incorporates ideas learned throughout the book.
Updates in this edition include the role of iterators in Python 3, web scraping with Scrapy and BeautifulSoup, using Requests to call web pages without strings, new tools for distribution and installation, and much more. By the end of the book you’ll be ready to deploy uncommon features that can take your skills to the next level in Python.
What You’ll Learn
- Implement programs with various types of Python functions
- Work with classes and object-oriented programming
- Use strings from the standard library and third-party libraries
- Harvest web site data with Python
- Automate unit testing by writing a test suite
- Review imaging, random number generation, and NumPy scientific extensions
- Understand The Zen of Python documentation to help you decide the best way to distribute your code