Is there a utility to tally function calls from other files?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Jun 13 22:53:15 EDT 2015


On Sun, 14 Jun 2015 04:11:59 +0200, Laura Creighton wrote:

> In a message of 14 Jun 2015 01:59:10 +0000, "Steven D'Aprano" writes:
>>On Sat, 13 Jun 2015 14:09:48 -0700, C.D. Reimer wrote:
>>
>>> On 6/13/2015 1:59 PM, Laura Creighton wrote:
>>>> Idle is written in pure python.  Steal from:
>>>> https://hg.python.org/cpython/file/74d182cf0187/Lib/idlelib/
>>GrepDialog.py
>>>> if you do not have a copy locally.
>>> 
>>> I've been using Notepad++ (Windows) and TextWrangler (Mac) for over a
>>> decade now. Idle may be pure Python, but that's not enough for me to
>>> switch. :)
>>
>>
>>You don't have to switch for good. You can fire up IDLE to do this one
>>job, then never use it again.
>>
>>
> Or my idea was, if his plan was to write a script to grep through his
> files, he could just go out and steal the code that comes with idle
> where it is already written for him.

Well, yes, but since IDLE already contains that script, why not just use 
IDLE?


> Of course, by now he may have already written one ...

Indeed.



-- 
Steven D'Aprano



More information about the Python-list mailing list