how to check what version of a python module you have code example Example: check package version python import packagename print(packagename.__version__)