Usually, after doing numerical SciPy/NumPy calculations in the interactive mode for several hours, a bunch of modules become to be loaded.
Are there any good ways to see the list of imported modules from the interactive python command line?
Thanks!
Usually, after doing numerical SciPy/NumPy calculations in the interactive mode for several hours, a bunch of modules become to be loaded.
Are there any good ways to see the list of imported modules from the interactive python command line?
Thanks!
Use Pip
pip freeze
Using:
pip freeze > requirements.txt
will save all the modelues in a text file.