En Tue, 16 Oct 2007 17:50:06 -0300, <[EMAIL PROTECTED]> escribió:

> On Oct 16, 3:46 pm, Johny <[EMAIL PROTECTED]> wrote:

>> Now I need to find out which  of Programs imports a particular module
>> - module timesocket.py
>> Is that possible without opening each program?
>
> 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.

On Windows there is no need to download anything, you can use the findstr  
utility:

findstr /R /S /C:"import  *timesocket" /C:"from  *timesocket  *import" *.py

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to