source: anuga_core/source/anuga/count_lines.py @ 4070

Last change on this file since 4070 was 4070, checked in by ole, 16 years ago

Added function for counting lines of source code

File size: 220 bytes
Line 
1"""Count total number of lines of code in ANUGA
2"""
3
4import os
5
6s = 'find . -type f -name "*.py" -print | xargs wc -l'
7print s
8os.system(s)
9
10
11s = 'find . -type f -name "*.c" -print | xargs wc -l'
12print s
13os.system(s)
14
15
Note: See TracBrowser for help on using the repository browser.