0

What are Python Modules

Malarvizhi M Posted new comment June 3, 2023
User Avatar

Files containing Python codes are referred to as Python Modules. This code can either be classes, functions, or variables and saves the programmer time by providing the predefined functionalities when needed. It is a file with “.py” extension containing an executable code.

Commonly used built modules are listed below:

>os
>sys
>data time
>math
>random
>JSON