Skip to content

count code linum in current directory,support different languages, easy to tweak

Notifications You must be signed in to change notification settings

yangda75/simpleLineCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

simpleLineCounter

A simple tool.
It can count the number of lines of code in current directory.
This one is mainly for fun, cloc is a better choice for serious usage.

Python version used: 3.5.2
module imported: os
sample in Linux terminal:

$python countLineV0.01.py
language       total lines    blank lines    files         
------------------------------------------------------------
py             4102           741            130           
m              1792           392            8             
js             1162           202            37            
html           1138           41             13            
cpp            515            41             10            
c              257            19             6             
css            231            29             3             
lisp           68             10             1             
java           36             1              3             
sh             19             0              2             
------------------------------------------------------------
total          9320           1476           213           

About

count code linum in current directory,support different languages, easy to tweak

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages