source:
branches/numpy/anuga/count_lines.py
@
6823
Last change on this file since 6823 was 4070, checked in by ole, 18 years ago | |
---|---|
File size: 220 bytes |
Line | |
---|---|
1 | """Count total number of lines of code in ANUGA |
2 | """ |
3 | |
4 | import os |
5 | |
6 | s = 'find . -type f -name "*.py" -print | xargs wc -l' |
7 | print s |
8 | os.system(s) |
9 | |
10 | |
11 | s = 'find . -type f -name "*.c" -print | xargs wc -l' |
12 | print s |
13 | os.system(s) |
14 | |
15 |
Note: See TracBrowser
for help on using the repository browser.