testio.py write then read file testio.dat wrote and closed testio.dat read and print testio.dat one line at a time line 1 line 2 expect eof yet just reads null strings again,read and print testio.dat line 1 line 2 read entire file into a, print with one statement print entire file, one long string, with line feeds line 1 line 2