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