0 votes
in Python by
Define modules in Python?

1 Answer

0 votes
by
Module is defined as a file that includes a set of various functions and Python statements that we want to add in our application.

Example of creating` a module:

In order to create a module first, we need to save the code that we want in a file with .py extension.

Save the module with module.py

1

2

def wishes(name):

Print("Hi, " + name)
...