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