python - Module vs. Package? - Stack Overflow
stackoverflow.com › questions › 47193079Nov 09, 2017 · A Python module is simply a Python source file, which can expose classes, functions and global variables. When imported from another Python source file, the file name is treated as a namespace. A Python package is simply a directory of Python module (s). For example, imagine the following directory tree in /usr/lib/python/site-packages: