Re: [Tutor] Searching across .Py files for a particular string/ character

2006-03-30 Thread Kent Johnson
Janesh Ramakrishnan wrote: > Hi Folks, > > I was wondering what would be the best way to look up a string across > different files in the Python interpreter (PythonWin 2.4). The find function only finds files within currently open files. If I have a folder of .py scripts and need to look up a spe

Re: [Tutor] Searching across .Py files for a particular string/character

2006-03-30 Thread David Heiser
\nFinding " + TargetString + "\n---\n" os.path.walk(".", Find, TargetString) == -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Janesh Ramakrishnan Sent: Thursday, March 30, 2006 5

[Tutor] Searching across .Py files for a particular string/ character

2006-03-30 Thread Janesh Ramakrishnan
Hi Folks, I was wondering what would be the best way to look up a string across different files in the Python interpreter (PythonWin 2.4). The find function only finds files within currently open files. If I have a folder of .py scripts and need to look up a specific keyword or string among al