This is the code repository for Expert Python Programming - Third Edition, published by Packt.
Become a master in Python by learning coding best practices and advanced programming concepts in Python 3.7
Python is a dynamic programming language that's used in a wide range of domains thanks to its simple yet powerful nature. Although writing Python code is easy, making it readable, reusable, and easy to maintain is challenging. Complete with best practices, useful tools, and standards implemented by professional Python developers, the third edition of Expert Python Programming will help you overcome this challenge.
This book covers the following exciting features:
- Explore modern ways of setting up repeatable and consistent development environments
- Package Python code effectively for community and production use
- Learn modern syntax elements of Python programming such as f-strings, enums, and lambda functions
- Demystify metaprogramming in Python with metaclasses
- Write concurrent code in Python
- Extend Python with code written in different languages
- Integrate Python with code written in different languages
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
print("hello world")
print "goodbye python2"
Following is what you need for this book: This book will appeal to you if you’re a programmer looking to take your Python knowledge to the next level by writing efficient code and learning the latest features of version 3.7 and above.
The required softwares are specified chapter wise in the book.
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
-
PDF page no: 306 Chapter 9
Sample code like this:
with nogil: result = fibonacci_cc(n) return fibonacci_cc(n)
return fibonacci_cc(n)
should bereturn result
.
Michal Jaworski has 10 years' of professional experience in Python. He has been in various roles at different companies, from an ordinary full-stack developer, through software architect, to VP of engineering in a fast-paced start-up company. He is currently a senior backend engineer at Showpad. He is highly experienced in designing high-performance distributed services. He is also an active contributor to many open source Python projects.
Tarek Ziade is a Python developer located in the countryside near Dijon, France. He works at Mozilla in the services team. He founded a French Python user group called Afpy, and has written several books about Python in French and English. When he is not hacking on his computer or hanging out with his family, he's spending time between his two passions, running and playing the trumpet.
Python Microservices Development
Click here if you have any feedback or suggestions.