Python-Outline
Python-Outline
PYTHON
Course Manual
Prepared By:
Dr. Muhammad Asif Khan
Assistant Professor
Sukkur IBA University
Table of Contents
Python Programming Bootcamp – Recommended Resources ........................................... 4
Incremental Development of Project an Overview ............................................................. 7
Week 1: Introduction to Programming and Python Basics ................................................ 9
Day 1: Introduction to Programming Concepts .............................................................. 9
Day 2: Variables and Arithmetic Operations ................................................................ 12
Day 3: Input and Output ............................................................................................... 16
Day 4: Control Flow - If Statements .............................................................................. 20
Day 5: Project Day ......................................................................................................... 26
Week 2: Control Flow and Looping ................................................................................... 29
Day 1: Loops – Introduction to While Loop .................................................................. 29
Day 2: Loops – Introduction to For Loop ...................................................................... 33
Day 3: Combining Control Flow and Loops ................................................................... 37
Day 4: Lists – Introduction and Basic Operations ......................................................... 42
Day 5: Project Day ......................................................................................................... 46
Week 3: Functions and More Data Structures ................................................................. 50
Day 1: Introduction to Functions .................................................................................. 50
Day 2: Lists – Advanced Operations.............................................................................. 54
Day 3: Tuples and Dictionaries...................................................................................... 58
Day 4: Error Handling and Debugging........................................................................... 62
Day 5: Project Day ......................................................................................................... 67
Week 4: File Handling and Basic Project Structuring ........................................................ 70
Day 1: Introduction to File Handling ............................................................................. 70
Day 2: Working with Files (Continued) ......................................................................... 74
Day 3: Structuring a Python Project .............................................................................. 79
Day 4: Project Day Preparation..................................................................................... 85
Day 5: Project Day ......................................................................................................... 89
Week 5: Introduction to Object-Oriented Programming (OOP)....................................... 94
Day 1: Introduction to Classes and Objects .................................................................. 94
Day 2: More on Classes and Methods .......................................................................... 99
Day 3: Inheritance and Polymorphism ....................................................................... 106
Day 4: Working with Objects in the Project ................................................................ 112
Day 5: Project Day ....................................................................................................... 120
2
Week 6: Introduction to APIs and External Libraries ...................................................... 126
Day 1: Introduction to APIs ......................................................................................... 126
Day 2: External Libraries and Packages....................................................................... 130
Day 3: Integrating APIs into the Project...................................................................... 133
Day 4: Project Enhancement with Libraries................................................................ 138
Day 5: Project Day ....................................................................................................... 142
Week 7: Advanced Python Concepts and Data Visualization ......................................... 146
Day 1: Advanced Functions and Recursion ................................................................. 146
Day 2: Introduction to Data Visualization ................................................................... 150
Day 3: Data Manipulation with Pandas ...................................................................... 159
Day 4: Enhancing the To-Do List with Data Visualization ........................................... 166
Day 5: Project Day ....................................................................................................... 173
Week 8: Project Finalization and Deployment ............................................................... 176
Day 1: Review of All Key Concepts .............................................................................. 176
Day 2: Final Project Adjustments ................................................................................ 186
Day 3: Introduction to Git and Version Control .......................................................... 192
Day 4: Project Deployment ......................................................................................... 197
Day 5: Final Project Presentation................................................................................ 201