get the commentline, blankline and codeline, comment rate,total line
- commentline
- code line
- blank line
- total line
- comment rate
Maybe you should change the flowing two line:
listTxt = "C:\\Users\\13987\\PycharmProjects\\untitled2\\"
dir = "C:\\Users\\13987\\PycharmProjects\\untitled2"
File type mainly supports java, python, JS, Makefile and so on.