Answer the question
In order to leave comments, you need to log in
How to recursively traverse a directory tree and count the number of lines in all .py files?
Good afternoon. It is necessary to somehow calculate the number of lines of code in the project, I can’t figure out how to do it. Trying to build a command for bash from ls, find, wc, grep but nothing comes up. For example, there is a directory structure like this:
.
├── 1.py
├── 2.py
└── folder
└── 3.py
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question