4-3-329, Bank Street,
Hyderabad-500195
Ph: 24756967/24756400
BPB BOOK CENTRE
376 Old Lajpat Rai Market,
Delhi-110006
Ph: 23861747
Published by Manish Jain for BPB Publications, 20 Ansari Road, Darya Ganj, New Delhi-110002 and Printed by him at Repro India Ltd, Mumbai
www.bpbonline.com
About the Authors
Ahidjo Ayeva is a computer scientist based in Hamburg (Germany). He has got several years of experience in the development of software
applications as a Full-stack developer in Java and Python. His interests focus on data analysis, process automation, and IoT. Since June 2018, he
is also qualified as an SAP Business Intelligence consultant.
Your LinkedIn Profile: https://www.linkedin.com/in/ahidjo-a-070baa179
Kamon Ayeva is a Python Developer / DevOps Engineer based in France. He has been working with Open Source tools from the Python world and
beyond for projects he has been involved with since 2000, mainly web development frameworks such as Zope, Plone CMS, Django, and Flask, and
Data Analytics tools. Via his company, Content Gardening Studio, he spends most of his time helping projects, using Python.
Your Blog links: https://medium.com/@contentgardeningstudio
Your LinkedIn Profile: https://www.linkedin.com/in/kamon-ayeva/
Aiman Saeed is a Computer Science graduate working full time as a developer. He has a keen interest in nascent technologies and loves to write
blogs and talk about its use cases. He thinks anyone and everyone must know how a program works and wants to spread the knowledge he
explores to the community. He wrote his first line of code in his early teen, and he believes he should have started much earlier.
Acknowledgement
I want to start by thanking my family members for their ongoing support. They have always been listening with much interest whenever I was talking
about my work, Python, and this book. That helps a lot to keep the motivation.
I am also grateful that the Python community is so overwhelmingly awesome. There are so many things to learn and experiment with, every day,
that you feel you will still be taking pleasure building with these technologies in 10 years from now.
Finally, my thanks go to the team at BPB Publications.
Preface
Python is a large piece of technology. You have the language syntax itself and related features. You have the interpreter which interprets the
code, and the programmer can run it and start testing his code interactively at the interpreter prompt. You have the built-in modules and functions
which help the programmer create his programs. And these only constitute a part of it.
This book includes 17 chapters to give you an in-depth presentation of the possibilities for solving everyday problems, from simple use cases to
complex ones. The first chapters help you install Python and get started discovering its built-in tools. You will explore the foundations of Python
programming, such as the built-in data types, functions, objects and classes, files, and other data persistence mechanisms available. You will also
explore the different programming paradigms such as OOP, Functional, and Parallel programming and find the best approach given a situation.
You will also learn how to utilize an interchange format to exchange data and understand how to carry out performance optimization, effective
debugging, and security, among other techniques. At the end of the book, the reader will enjoy two chapters dedicated to two domains, where