# from http://stackoverflow.com/a/23885252

import pip
installed_packages = pip.get_installed_distributions()
installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
    for i in installed_packages])
for package in installed_packages_list:
    print package

Add script to show what python modules are installed
Add script to show what python modules are installed
