Organizing Python Code

Russell Wallace rwallace at esatclear.ie
Sun Oct 8 02:59:37 EDT 2000


Garth Dighton wrote:
> This doesn't work when the code is in several directories. I frequently
> have this problem at work, where the source code for our main product is
> spread across several hundred files in 50 or so directories (our product is
> a database server, so the architecture is fairly complicated). You CAN'T
> just do a grep to find the function definition. (although you can usually
> grep the include directory to find the declaration, this doesn't always
> tell you where to look for the definition itself.)

Should be easy enough to write a little Python script to run grep in
subdirectories?  This would only need to be done once.

-- 
"To summarize the summary of the summary: people are a problem."
Russell Wallace
mailto:rwallace at esatclear.ie
http://www.esatclear.ie/~rwallace



More information about the Python-list mailing list