You can try the readlines() method, which calls readline() repeatedly and returns a list of the lines so read. ... print '\n'.join(my_file.readlines()).
確定! 回上一頁