2.1. Module vs Package vs Library#

  • Single File(.py) containing variables and functions = Module

  • Colllection of Modules = Package

  • Collection of Packages = Library

  • Collection of Libraries = Framework

2.2. Checking version of Modules#

  • Use modulename.__version__

import pandas
pandas.__version__
'1.4.2'