python -如何确定文件是否位于其`eof`? fp = open("a.txt") #do many things with fp c = fp.read() if c is None: print 'fp is at the eof'.
確定! 回上一頁