Basics of Python Programming, 2nd Edition: Learn Python in 30 days Front Cover

Basics of Python Programming, 2nd Edition: Learn Python in 30 days

  • Length: 246 pages
  • Edition: 2
  • Publisher:
  • Publication Date: 2024-04-19
  • ISBN-10: 9355516401
  • ISBN-13: 9789355516404

Mastering the Python fundamentals with practical examples

Key Features

  • The book takes a beginner-friendly approach with practical examples, multiple choice questions, and solved exercises to help readers understand Python better.
  • The book maintains clear explanations with concise chapters, making it suitable for those new to programming.
  • This edition also covers NumPy for array manipulations and complex problem-solving. It teaches how to use Tkinter to create user-friendly applications with interactive interfaces.


The basics of Python are the book’s main focus. With practical examples, students will understand the fundamentals of Python. This book is designed in a way that should make every example understandable to the readers. In addition, from the perspective of a competitive examination, the book offers multiple-choice questions, true/false questions, and practical solved exercises.

Through this book, the readers will be able to learn Python basics. This includes setting up your environment and manipulating data. Additionally, they will also learn how to master control flow with conditional statements and loops for more responsive programs and utilize functions for organizing code and file handling to work with local data. Learners will also explore object-oriented programming (OOP) and essential libraries like NumPy for advanced programming.

This edition brings a new horizon of NumPy and Tkinter for numerical computing tasks like array manipulations, tackling complex problems, and building user-friendly applications with interactive graphical interfaces, respectively.

From every chapter, the reader will learn the programming fundamentals and will be able to execute the programs on their own.

What you will learn

  • Install and run Python programs, understand variables, user input, and operators.
  • Organize code and improve reusability by defining and using functions.
  • Store and manage data efficiently using lists, tuples, and dictionaries.
  • Organize data effectively using iterators and generators for memory optimization.
  • Gracefully handle errors and exceptions to improve program robustness.

Who this book is for

This book is intended for students who are new to the study of Python. Additionally, it benefits those enrolled in diploma-level studies or pursuing undergraduate studies or a master’s degree at state universities or colleges.

Table of Contents

1. Introduction to Python Variables, Datatypes and Operators

2. Conditions and Loops

3. Arrays and Functions

4. Lists, Tuples, Iterators Generators, and Sets

5. Dictionaries and Modules

6. File Handling and Databases

7. Object-Oriented Programming

8. Regular Expressions, Date and Time

9. Exception Handling

10. NumPy and Tkinter

Appendix: Practice Exercises with Solutions

To access the link, solve the captcha.