source: trunk/anuga_core/source/anuga/count_lines.py @ 7866

Last change on this file since 7866 was 7865, checked in by hudson, 14 years ago

Refactoring to clean up pylint errors.

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