Python 101 – Course Outline

Day 1

  • Overview of Python
    • Introduction
    • Installing Python and setting up the environment
    • Writing a simple Python script
    • Python syntax and indentation
    • Variables and User inputs
    • LAB 1
  • Data Types
    • Intorduction
    • integers and float
    • strings
    • booleans
    • lists
    • LAB 2
  • List & Tuples
    • Introduction
    • List methods
    • List comprehensions
    • Accessing Tuple Elements (indexing)
    • Accessing Tuple Elements (slicing)
    • Tuple Methods
    • LAB 3

Day 2

  • Dictionaries and Sets
    • Introduction
    • Working with Dictionaries
    • Dictionary methods
    • Ordered Dictionaries
    • Sets
    • Set Operations
    • LAB 4
  • Control Statements
    • Overview
    • “if” statement
    • “while” statement
    • “for” loop
    • “break” statements (break, continue, pass)
    • Range function
    • LAB 5
  • Functions
    • Overview of built-in functions
    • User-defined functions
    • Function Arguments
    • Anonymous Functions
    • LAB 6

Day 3

  • OOP in Python
    • Introduction
    • Class in Python
    • Methods in a Class
    • Class vs Instance Attribues
    • Class vs Instance Methods
    • Class inheritance
    • LAB 7
  • Modules and Packages
    • Introduction
    • Import statements
    • Modules vs Packages
    • File object
    • Reading/Writing to file
    • Handling structured data
    • LAB 8
  • Error Handling
    • Introduction
    • Raising Exceptions
    • Built-in Exceptions
    • Handling Errors and Exceptions
    • Custom Exceptions
    • LAB 9