How to find imported modules

Johny python at hope.cz
Tue Oct 16 22:46:43 CEST 2007


My Main program imports several other smaller programs.
for example
Main.py
imports
Program1.py
Program2.py
...
Program50.py

Now I need to find out which  of Programs imports a particular module
- module timesocket.py
Is that possible without opening each program?
Thanks
B.




More information about the Python-list mailing list