IT243 Programming with Python
Programming with Python notes
9 chapter notes, in syllabus order. Each starts with the key points.
Unit 1
Introduction to Python · note coming
Unit 2
Data Types, Variables & Operators in PythonUnit 2 of Programming with Python covers fundamental building blocks: numeric types (integers, floats), boolean logic, type conversion, arithmetic/relational operators, and variable assignment rules—with real-world examples from eSewa transactions and Ncell billing.11 min readUnit 3
Control Flow: Loops, Conditions & Decision-Making in PythonUnit 3 of Programming with Python covers conditional statements (if, elif, else), loops (for, while), and control flow techniques like break, continue, and pass, with real-world applications, algorithmic traces, and exam-focused problem-solving strategies.10 min readUnit 4
Functions, Modules, Recursion & Scope in PythonUnit 4 of Programming with Python covers how to define, call, and reuse functions; organize code into modules; handle scope rules; and implement recursion. Learn parameter passing, lambda functions, and Python’s import system with real-world examples from Nepalese apps like eSewa and Daraz.9 min readUnit 5
Strings, Lists, Tuples, Sets, Dictionaries: Operations, Traversal & Use CasesUnit 5 of Programming with Python covers Python’s core data structures—strings, lists, tuples, sets, and dictionaries—explaining their syntax, operations, traversal methods, and real-world applications in apps like eSewa, Daraz, and Ncell. Includes visual step-by-step traces of operations (e.g., sorting a list, hashing9 min readUnit 6
File Handling & Exceptions in Python: I/O, Errors & DebuggingUnit 6 of Programming with Python covers reading/writing files (text, binary), exception handling (try-except), and debugging techniques—essential for robust programs that interact with external data or user input.6 min readUnit 7
OOP in Python: Classes, Objects, Inheritance & PolymorphismUnit 7 of Programming with Python covers object-oriented programming (OOP) principles in Python, including classes, objects, inheritance, polymorphism, encapsulation, and abstraction, with real-world examples and visual traces of code execution.9 min readUnit 8
Databases: SQL, ORM, Transactions & Database DesignUnit 8 of Programming with Python covers database fundamentals, SQL queries, database design (ER diagrams), transactions, and Python database integration (SQLite, MySQL, ORM). Learn how to connect Python to databases, optimize queries, and handle data integrity in real-world applications.14 min readUnit 9
NumPy Arrays, Pandas DataFrames & Data Analysis WorkflowsUnit 9 of Programming with Python covers NumPy’s array operations, Pandas’ DataFrame manipulation, and real-world data analysis workflows—from loading datasets to cleaning, aggregating, and visualizing data with Python libraries.9 min readUnit 10
Web & GUI Programming: Tkinter, Web Basics, APIs, Flask, HTML/CSSUnit 10 of Programming with Python covers building user interfaces (GUIs) with Tkinter, creating web pages with HTML/CSS, interacting with web APIs, and developing lightweight web apps using Flask—essential skills for modern software development.7 min read