Thanks to both of you for the help, much appreciated!
Luke
--
http://mail.python.org/mailman/listinfo/python-list
Luke wrote:
> I'm pretty stuck at the moment and wondering if anyone can spot the problem.
> Trying to create a function that will read a text file into a list and
> return that list.
>
> I wrote the following function and saved it as 'fileloader.py'
>
> def fileload(fname):
> infile=open(fna
Luke wrote:
> I'm pretty stuck at the moment and wondering if anyone can spot the problem.
> Trying to create a function that will read a text file into a list and
> return that list.
>
> I wrote the following function and saved it as 'fileloader.py'
>
> def fileload(fname):
> infile=open(f
I'm pretty stuck at the moment and wondering if anyone can spot the problem.
Trying to create a function that will read a text file into a list and
return that list.
I wrote the following function and saved it as 'fileloader.py'
def fileload(fname):
infile=open(fname)
dates =[]
time