is modulefinder.ModuleFinder working at all?

Skip Montanaro skip.montanaro at gmail.com
Wed Nov 9 16:48:11 EST 2016


I've not used it before, but I suspect it's meant to be used in
"freeze" type environments. In that situation, you really do want
everything reachable, whether the script imported it or not. It
doesn't take much to wind up importing much of the stdlib either. Try:

python -m modulefinder -m /path/to/os.py

This is from Python 2.7, YMMV slightly in Py3.

Skip



More information about the Python-list mailing list