How to find imported modules
kyosohma at gmail.com
kyosohma at gmail.com
Tue Oct 16 16:50:06 EDT 2007
On Oct 16, 3:46 pm, Johny <pyt... at hope.cz> wrote:
> 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.
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.
Mike
More information about the Python-list
mailing list