DAY 08 Agenda

  • Overview of Yesterday Class
  • Modules and Packages
  • Writing Your own module
  • __name__ and __main__
  • Generators and Decorators
  • Community Link to ask your doubts


A module is a file containing Python definitions and statements. A module can define functions, classes and variables. A module can also include runnable code. Grouping related code into a module makes the code easier to understand and use.


Packages in Python. A package is a hierarchical file directory structure that defines a single Python application environment that consists of modules and subpackages and sub-subpackages, and so on.


A decorator in Python is any callable Python object that is used to modify a function or a class. A reference to a function "func" or a class "C" is passed to a decorator and the decorator returns a modified function or class.

And, to understand in detail please go through the the below TIMESTAMPS

Day 8 | Batch 4 | LetsUpgrade - Free Coding School - 🐍




6:40 - Modules and Packages

24:10 - Writing our OWN libraries 

35:10 - Difference between Name and Main 

46:55 - Name == "main" 

55:40 - Decorators 

1:31:00 - Generators 

2:03:45 - Assignment (DAY 08)



 Check Batch 4 folder

🐱 Github :

See in respective folders and download it if you want. See the FAQ in the pdf for submission details and any queries. You can also find the questions in the Course PPT.

👨‍🏫 Attendance Form :

📒 Course PPT:

📋 Assignment Details :

🗃 Assignment Submit Form :


Batch 4 | All Details | Free Coding School - Python