Difference between Python Libraries, Packages and Modules

I’ve been using Python for a few years now and I have been using libraries, packages and modules during those years and took them for granted

I have never stopped and wondered how these relate to each other.

The way I understand it, the relation between libraries, packages and modules is hierarchical: libraries consist of related packages (and modules) and packages consist of related modules:

Libraries > Packages > Modules

Am I missing crucial details during this simplification?

Let me know!

Also would like to take this moment to thank all the awesome people who created and added to all the libraries, packages and modules that are available nowadays.

Leave Comment

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *