Image for post
Image for post
Photo by 🇸🇮 Janko Ferlič on Unsplash

Library, Package and Module

A library is a collection of modules and packages that together fulfills a specific requirement.

A python module is a .py file that has variables, functions, classes, statements etc. related to a specific task.

A package is a collection of python modules under a common namespace that is created by putting different modules on a single directory along with some special files (such as In order for a folder to be recognized as a package, a file named must also be stored in that folder, even if this file is empty.

Note — A library can have one or more packages. …

Souvik Paul

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store