‘Python Crash Course’ by Eric Matthews is a fast-paced and comprehensive introduction to Python language for beginners who wish to learn Python programming and write useful programs. The book aims to get you up to speed fast enough and have you writing real programs in no time at all. This book is also for programmers who have a vague understanding of the language and wish to brush up their knowledge before trying their hands-on Python programming. As you work through the book, you learn the use of libraries and tools such as Numpy and matplotlib and work with data to create stunning visualizations. You also learn about the idea behind 2d games and Web applications and how to create them.
This 560 pages long book majorly dissects into two parts. The first part of the book discusses the basics of Python programming and sheds light on concepts such as dictionaries, lists, loops, and classes. You understand the working of a Python program and learn how to write clean and readable code, which creates interactive programs. The part ends with the topic of how to test your code before you add it to a project. The second part of the book follows a practical approach and help you test your knowledge by presenting three different projects, an arcade game, a simple web application and data visualizations using Python’s libraries.
‘Head-First Python’ by Paul Barry is a quick and easy fix for you if you wish to learn the basics of Python programming without having to slog through counterproductive tutorials and books. The book helps you in gaining a quick grasp of the fundamentals of Python programming and working with built-in functions and data structures. The book then moves to help you build your web application, exception handling, data wrangling, and other concepts. The head first Python makes use of a visual format rather than a text-based approach, helping you to see and learn better.
The author is Paul Barry, a lecturer at the Institute of Technology, Carlow, Ireland. Before entering the academic world, he worked for over a decade in the IT industry. He is the author of individual well-known programming books, such as Programming the Network with Perl, Head First Programming, and Head First Python.
‘Learn Python the Hard Way’ by Zed A. Shaw (3rd Edition) is a collection of 52 correctly collated exercises. You have to read the code and type it precisely. Once typed, you have to fix the mistakes in the code for a better understanding and watch the programs run. These exercises help you understand the working of the software, structure of a well-written program, and how to avoid and find common mistakes in code using some tricks that professional programmers have up their sleeves.
The book begins it all by helping you install a complete Python environment, which helps you in writing optimized code. The book then discusses various topics, such as basic mathematics, variables, strings, files, loops, program design, and data structures, among many others. The book is ideal for beginners who wish to learn Python programming through the crux of the language. The author is Zed A. Shaw, who is the creator of the Hard Way series, which includes books on C, Python, and Ruby programming language.
Python Programming’ by John Zelle is the third edition of the original Python programming book published in 2004, the second edition of which released in 2010. Instead of treating this book as a source of Python programming, it is recommended to take it as an introduction to the art of programming. This book introduces you to computer science, programming, and other concepts, only using Python language as the medium for beginners. The book discusses its contents in a style that is most suitable for beginners, who find the concepts in the book easy to understand and engaging.
The third edition of this hugely successful book follows the path paved by the first edition and continues to test students through a time-tested approach while teaching introductory computer science. The most notable change in this edition is the removal of nearly every use of python eval() library and the addition of a section that discusses its negatives. The latest version also uses new graphic examples.
‘Learning with Python’ by Allen Downey, Jeff Elkner, and Chris Meyers is an introduction to Python programming and using the language to create excellent real-world programs. The book divides into 20 sections and also includes a contributors list and a way forward. The initial sections discuss the basics of programming and what makes up a program. Then it moves on to basic Python concepts such as variables, functions, conditionals, fruitful functions, and iteration. Towards the end, the book discusses the core concepts such as objects, inheritance, lists, stacks, queues, trees, and debugging.
The book is available for free in a variety of formats, which include PDF, Postscript, Gzipped Rar, and HTML. Users are free to download and print these files as the book has a license under the GNU Free Documentation License. The book translated in other languages such as Spanish, Italian, German and Czech, is available for download.
‘A Byte of Python’ by C.H. Swaroop is a free book on Python programming to guide the beginner audience to an understanding of the Python language. The book discusses the Python 3 version majorly, but also helps you adapt to the older versions of the language. The book is available in over 26 languages, including Turkish, Swedish, French, Chinese, German, Spanish, Russian, Ukrainian, Portuguese, and Korean. The translations have been provided by active community members who vigorously work to keep the edits going on as the book is updated.
The book initiates with an introduction to what the book is about. It also considers the demands of the readers concerning dedication. Then it describes Python and how it has emerged as one of the most influential languages in the programming world. It then moves on to Python concepts and describes them in detail, along with examples at every step. It culminates with how you can continue learning Python after reading this book and leaves you with a problem to solve, testing your skills even at the last step.
Many commercial applications and projects have employed machine learning as an integral ingredient, and the number of applications doing so has only risen over the years. This book by Sarah Guido and Andreas C. Muller teaches you how to use Python programming language to build your machine learning solutions. As the amount of data usage increases with the second, the limitation to machine learning applications is only our imagination.
Throughout this book, you learn about the steps required to create a rich machine-learning application using Python and sci-kit-learn library. The book introduces you to the fundamental concepts and uses of machine learning before moving on to the pros and cons of popular machine learning algorithms. You also learn about the advanced methods for model evaluation and the concept of pipelines, which is for encapsulating your workflow and chaining models. In conclusion, the book provides suggestions to help you improve your data science skills.
‘Fluent Python’ by Luciano Ramalho is your hands-on-guide that helps you learn how to write useful Python code by using the most neglected yet best features of the language. The author takes you through the features and libraries of the language and helps you make the code shorter, faster, and readable.
The book covers various concepts, including python data model, data structures, functions as objects, object-oriented idioms, control flow, and metaprogramming. Using this book, advanced Python programmers learn about Python 3 and how to become proficient in this version of the language. The author is Luciano Ramalho, a Web Developer who has worked with some of the most significant news portals in Brazil using Python and has his own Python training company.
‘Python Cookbook’ by David Beazley and Brian K. Jones helps you master your programming skills in Python 3 or help you update older Python 2 code. This cookbook is filled with recipes tried and tested with Python 3.3 is the ticket for experienced Python programmers who wish to take the approach to modern tools and idioms rather than just standard coding. The book has complete recipes for a variety of topics, covering Python language and its uses, along with tasks common to a large number of application domains.
Some of the topics covered in the book are but not limited to strings, data structures, iterators, functions, classes, modules, packages, concurrency, testing, debugging, and exceptions. Throughout the book, the recipes mentioned above presuppose that you have the necessary knowledge to understand the topics in the book. Each recipe contains a sample code the reader can use in their projects. The code follows a discussion about the working of the code and why the solution works.
‘Programming Python’ by Mark Lutz is ideal for programmers who have understood the fundamentals of Python programming and ready to learn how to use their skills to get real work done. This book includes in-depth tutorials on various application domains of Python, such as GUIs, the Web, and system administration. The book also discusses how the databases uses the language, text processing, front-end scripting layers, networking, and much more.
The book explains the commonly used tools, language syntax, and programming techniques through a brief yet precise approach. The book has many examples that show the correct usage and common idioms. The book also digs into the language as a software development tool, along with multiple examples illustrated particularly for that purpose.