Hands-On Python with 50 Exercises, 2 Projects, 2 Assignments & Final Exam: Intermediate
Copyright 2021 Musa Arda.
All rights reserved. No portion of this book or its supplementary materials may be reproduced in any form without permission from the publisher, except as permitted by U.S. copyright law.
Preface
About This Book
This book is an in-depth and activity-based introduction to the intermediate level topics of Python programming. It follows a step-by-step practical approach by combining the theory of the language with the hands-on coding exercises including quizzes, projects, assignments and exams.
We begin by setting up the development environment, the PyCharm IDE. Then we cover Exception Handling, Modules & Packages, Format Operations and File Operations in Python. Further we cover one of the most important topics in computer programming which is OOP (Object Oriented Programming). We build two big projects that are the PDF & CSV Operations and the Movie Library. Especially in the Movie Library we build a real world project which you can use as a reference in your programming life. You will also have assignments after each project. And finally we have the final exam which will let you to test your Python level.
By the end of the book, you will learn almost all of the intermediate level concepts of Python in great detail by writing thousands of lines of code. All the supplementary resources ( code files , quizzes , assignments , final exam etc.) are available for download at the Github repository. The link for the repository is provided in the book.
This is the second book in Hands-On Python Series. And here is what you will find in this book:
Theory: In each topic, we will cover all the Theoretical Details with example coding.
Coding Exercises (50 questions): At the end of each chapter, we will have Coding Exercise, Quizzes, of 10 questions.
Projects (2): We will have 2 Projects in this book. You will learn how to apply Python concepts on real world problems.
Assignments (2): After each project, you will have an Assignment. These assignments will let you build the project from scratch on your own.
Final Exam: At the end of this book you will have the Final Exam. It is a multiple choice exam with 20 questions and a limited duration. The exam will let you to test your Python level.
About Hands-On Python Series
This is the second book in our Hands-On Python Series. And it covers the intermediate level topics. So we assume that you already know the introductory concepts of Python programming like; Variables, Functions, Conditional Statements, Loops, Strings, Lists, Dictionaries, Tuples, Sets and Comprehensions. If you dont feel comfortable with these topics, you are strongly recommended to finish the first book in our series, which is the Beginner book.
About the Author
Musa Arda has Bachelors degree from Industrial Engineering in 2007, and he has been working as a Software Developer for more than 14 years. He uses many programming languages and platforms like; Python, C#, Java, JavaScript, SAP ABAP, SQL, React, Flutter and more.
He creates online learning content and writes books to share his experience and knowledge with his students. His main purpose is to combine theory and hands-on practice in his teaching resources. That's why there are hundreds of programming exercises, quizzes, tests, projects, exams and assignments in all of his courses and books. He is dedicated to help his students to learn programming concepts in depth via a practical and exiting way.
How to Contact Us
Please feel free to get in contact with the author. To comment or ask technical questions about this book, you can send email to .
Introduction
Who Is This Book For?
The goal of this book is to help students to learn Python programming language in a hands-on and project-based manner.
With its unique style of combining theory and practice, this book is for:
- people who are new to computer science and programming
- people who are new to Python
- people who want to gain solid Python Skills
- people who want to learn Python by doing Projects, Quizzes, Coding Exercises, Tests and Exams
- people who want to learn Python for Machine Learning, Deep Learning, Data Science and Software Development in general
- anyone who wants to learn real Python
What Can You Expect to Learn?
The purpose of this book is to provide you a good introduction to the intermediate topics of Python programming. In general, you will gain solid programming skills and grasp the main idea of software development. In particular, here are some highlights on what you can you expect to learn with this book.
You will:
- learn & master Programming Fundamentals, Coding Algorithms and Computer Science Concepts
- go from Intermediate to Advanced level in Python with hands-on approach
- do exercises on fundamental topics of Python with 5 Quizzes and 50 Coding Exercises
- build 2 Real-World Project with Python and do 2 Assignments related to these projects
- take the Final Exam on Python with 20 questions to assess your learning
- build Python applications with PyCharm and master it
- learn Python fundamentals you need for Machine Learning, Deep Learning, Data Science and Application Development
- gain solid and profound Python Programming skills needed for a Python career
Outline of This Book
In , you will get the basics of the book. You will learn about this books approach to Python programming and how to get most out of it.
In , you will meet PyCharm, our IDE (Integrated Development Environment) for this book. You will learn all the basics of PyCharm and how to do debugging with it. You will also learn the base interpreter and interpreter configuration.
In , you will learn how to handle exceptions in your code. Exception Handling is one of the most important topics in programming. You will learn and practice the try-except-else-finally structure in detail.
In , you will learn Modules & Packages in Python. You will also define your custom modules and use them in your programs.
In , will see Format Operations in detail. You will learn how to format the Strings in Python. The ways will be Format Operator, String.Format, f-Strings and Template Strings.
In , you will learn the File Operations in Python. You will read and write files, delete, move and copy them, create folders and learn how to search over files & folders.
In , you will have your first project. You will work on PDF and CSV files in Python. You will read and write CSV & PDF files, create new PDFs and merge them.
In , you will have your first assignment. It is based on the PDF & CSV Project in Chapter 7 but with missing code segments in it. Dont worry, you will have the guidelines to complete the project on your own.
is on one of the main building blocks of programming which OOP. OOP stands for Object Oriented Programming and its crucial if you want to develop real world applications. You will learn and practice OOP and its core concepts in great detail.
In , you will have the second project. It is mainly on OOP concepts like classes, objects and inheritance. You will use Pythons built-in Tkinter Module and develop a Movie Library with it.
is your second assignment. This time you will try develop the Movie Library project in Chapter 10 on your own by completing the missing code segments.