Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
current line count for tensorflow
1/30/2019
Python 2.7.12 (default, Nov 12 2018, 14:36:49)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rglob
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.py")
3268693
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.java")
245116
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.pb")
2286691
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.js")
31226
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.c")
285627
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.cpp")
89481
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.h")
1840470
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.kt")
0
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.go")
133279
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.cc")
4548393
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.lds")
522
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.bzl")
38032
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.mm")
8962
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.plist")
1044
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.proto")
78908
>>> rglob.lcount("/media/chris/UBNT/tensorFlowExample/tensorflow","*.sh")
717297
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment