Skip to content

Instantly share code, notes, and snippets.

View AJIADb9's full-sized avatar
♻️
Big Green Deals

Kirill AJIADb9

♻️
Big Green Deals
View GitHub Profile
@AJIADb9
AJIADb9 / LinesInFolder.py
Created August 21, 2020 18:15
Count lines of files in given folder recursively (supports only *.cpp, *.h, *.cs files)
import os
import sys
count = 0
given_path = sys.argv[1]
def count_file(path: str):
global count
file = open(path, 'rb')