This repository contains all the class notes and documents covering the topics discussed during the lectures.
It is designed to help students learn Python programming step by step through theory, practice exercises, and quizzes.
-
Introduction to Python
- What is Python?
- Features & Applications
- Installing Python & IDEs
- Background code execution (How code works)
- Writing Your First Python Program
-
Basic Syntax and Operations
- Comments
- Variables & Constants
- Keywords & Identifiers
- Data Types (int, float, str, bool, None)
- Type Casting
- Input/Output Functions
-
Operators
- Arithmetic Operators
- Comparison Operators
- Logical Operators
- Assignment Operators
- Bitwise Operators
- Identity Operators
- Membership Operators
-
Control Flow
- Conditional Statements (if, elif, else)
- Loops
- for loop
- while loop
- Loop Controls (break, continue, pass)
- range() Function
-
Data Structures
- Strings
- Methods
- Slicing & Formatting
- Lists
- Indexing/Slicing
- Methods
- Tuples
- Immutability
- Dictionaries
- Key-Value Access & Methods
- Sets
- Set Operations
- Strings
-
Functions and Recursion
- Defining & Calling Functions
- Parameters & Return Values
- *args and **kwargs
- Lambda Functions
- Recursion
-
Exception Handling
- Types of Errors
- try-except Block
- else & finally
- raise Keyword
-
Modules and Packages
- Importing Built-in Modules
- Creating Custom Modules
- Using pip
-
File Handling
- Opening and Closing Files
- Reading and Writing Files
- File Modes
- Context Manager (with statement)
-
Object-Oriented Programming (OOP)
- Classes & Objects
- init() Constructor
- Instance & Class Variables
- Inheritance
- Polymorphism
- Encapsulation
- Dunder (Magic) Methods
-
Advanced Concepts (Optional for Beginners)
- List/Dict/Set Comprehensions
- Decorators
- Generators & Iterators
- JSON Handling
- datetime Module
- Regular Expressions
-
Practice and Mini Projects
- Calculator
- Number Guessing Game
- To-Do List CLI
- File Organizer
- CRUD App (with File Storage)
Python_Intro.ipynb
β Jupyter Notebook with notes & examplesExercises/README.md
β Exercises + Quiz instructionsQuiz Link
β Direct link to online quizassets/
β (Optional) images or resources
- Python 3.x
- Jupyter Notebook /IDLE/PYcharm
- Internet connection (for the quiz)
Install Jupyter Notebook with:
pip install notebook