simple import hook

DevPlayer devplayer at gmail.com
Tue Nov 15 12:56:03 EST 2011


And for an insane amount of what REALLY gets imported:

python.exe -B -s -S -v -v -v -v your_module_here.py %1 %2 %3 %4 %5 %6
%7 %8 %9

or more appropiately:

python -v -v -v -v your_module_here.py


And for completeness, if you feel those options aren't telling the
whole truth, you can turn on your operating system's file auditing for
opens and reads; I forget if there are other places that can be
imported from besides *.py, *.pyo, *.pyc, *.pyd files too (maybe
zips?)



More information about the Python-list mailing list