What are module, package and libraries? DS301222

Module:
It is a simple file that contains collection of functions and variables , with extension .py
ex:
Regex

Package : It is a simple directory consisting collection of modules
ex:
Numpy.
pandas

Library :
It is a reusable chunk of code which can be used by importing it into program.
We can use it by importing a library and calling a method of that library with period (.)

4 Likes

Good explanation @kinnukeshiya keep it up

2 Likes

@kinnukeshiya Keep practicing well explained

2 Likes