Ignore:
Timestamp:
Feb 13, 2009, 10:39:47 AM (16 years ago)
Author:
rwilson
Message:

Further changes from testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/busselton/standardised_version/file_length.py

    r6327 r6329  
    77Returns: number of lines in file
    88"""
     9
    910def 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   
    1018    fid = open(in_file)
    1119    data = fid.readlines()
Note: See TracChangeset for help on using the changeset viewer.