- Timestamp:
- Feb 13, 2009, 10:39:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/standardised_version/file_length.py
r6327 r6329 7 7 Returns: number of lines in file 8 8 """ 9 9 10 def file_length(in_file): 11 '''Function to return the number of lines in a file. 12 13 in_file: Path to the file to get number of lines in. 14 15 Returns: number of lines in file 16 ''' 17 10 18 fid = open(in_file) 11 19 data = fid.readlines()
Note: See TracChangeset
for help on using the changeset viewer.