Reputation: 4650
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!
Upvotes: 2
Views: 345
Reputation: 78
Use Pip
pip freeze
Using:
pip freeze > requirements.txt
will save all the modelues in a text file.
Upvotes: -1