Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92620 > unrolled thread

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

Started byDennis Lee Bieber <wlfraed@ix.netcom.com>
First post2015-06-14 12:12 -0400
Last post2015-06-14 12:12 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Is there a utility to tally function calls from other files? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-06-14 12:12 -0400

#92620 — Re: Is there a utility to tally function calls from other files?

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2015-06-14 12:12 -0400
SubjectRe: Is there a utility to tally function calls from other files?
Message-ID<mailman.479.1434298348.13271.python-list@python.org>
On Sun, 14 Jun 2015 05:58:28 +1000, Chris Angelico <rosuav@gmail.com>
declaimed the following:

>
>Hmm, I think the Windows 'find' command can do the same sort of job.
>Though it's not hard to grab a Windows port of grep and use that.
>Should be easier than writing your own script.
>
	If not "find", it should be possible to run something up in Windows
PowerShell

-=-=-=-=-=-=-=-=-
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Users\Wulfraed\Documents> Get-ChildItem -Path c:\users\wulfraed
-Include *.py -Recurse | Select-String -Pattern import

C:\users\wulfraed\AppData\Local\Temp\bak\CSV_DB.py:3:import sqlite3
C:\users\wulfraed\AppData\Local\Temp\bak\CSV_DB.py:4:import csv
C:\users\wulfraed\AppData\Local\Temp\bak\CSV_DB.py:5:import os
C:\users\wulfraed\AppData\Roaming\calibre\tweaks.py:32:# Set the
use_series_auto_increment_tweak_when_importing tweak to True to
C:\users\wulfraed\AppData\Roaming\calibre\tweaks.py:33:# use the above
values when importing/adding books. If this tweak is set to
C:\users\wulfraed\AppData\Roaming\calibre\tweaks.py:35:# explicitly set to
during the import. If set to True, then the
C:\users\wulfraed\AppData\Roaming\calibre\tweaks.py:37:# Note that the
use_series_auto_increment_tweak_when_importing tweak is used
C:\users\wulfraed\AppData\Roaming\calibre\tweaks.py:38:# only when a value
is not provided during import. If the importing regular
C:\users\wulfraed\AppData\Roaming\calibre\tweaks.py:40:# from books and the
import plugin produces a value, than that value will
C:\users\wulfraed\AppData\Roaming\calibre\tweaks.py:43:use_series_auto_increment_tweak_when_importing
= False
-=-=-=-=-=-=-=-

(Pity I don't use PowerShell enough to be fluent -- I keep having to look
up that simple sequence, much less the more powerful features)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web