Skip to content

Instantly share code, notes, and snippets.

@TRomijn
TRomijn / loaded_modules.py
Last active May 2, 2018 07:34 — forked from kinverarity1/loaded_modules.py
List loaded Python modules and packages, and show their version numbers and/or Git repository's HEAD commit SHA. Example: http://nbviewer.ipython.org/6038316/zz_example.ipynb
'''
original author: kinverarity1
List loaded modules and packages, and show their version numbers
and/or Git repository's HEAD commit SHA.
Changes:
Minor changes to make compatible with Python 3