How to find imported modules

kyosohma at kyosohma at
Tue Oct 16 22:50:06 CEST 2007

On Oct 16, 3:46 pm, Johny <pyt... at> wrote:
> My Main program imports several other smaller programs.
> for example
> imports
> ...
> Now I need to find out which  of Programs imports a particular module
> - module
> Is that possible without opening each program?
> Thanks
> B.

It is with grep on *nix, or you could download baregrep for windows,
which is what I use when I need to know this sort of thing.


More information about the Python-list mailing list