Hello all! I have a very simple question but I'm very new to python. Could you
describe to me what the following piece of Python code says in English please?
def print_a_line(line_count, f):
print line_count, f.readline()
I understand that line_count counts the number of lines in the Python prog, and
that we are creating a function, and that 'f' stands for file etc, but I can't
get my head around what the function does.
Many thanks in advance!
Best,
Victoria
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor