+ 1
What is the difference between modules , packages and libraries in python?
2 Respostas
+ 5
Module is a file which contains python functions , global variables etc. It is nothing but .py file which has python executable code / statement.
Package is namespace which contains multiple package/modules.
Library
It is collection of various packages. There is no difference between package and python library conceptually.
+ 3
Module is a set of functions, globals and classes that you can import. Package or library is a set of modules.