[EMAIL PROTECTED] wrote: > RawData = open('/Python25/working/data.txt', 'r')
You open this file only once. The first time in here: > def PullHourlyData(filename, facility, unit): > for line in filename: reads all of the file - nothing left for the other function calls! A better way would be to read the file in once to a list and give that lkist to the function to process. HTH, Jussi -- http://mail.python.org/mailman/listinfo/python-list