fileinput 是Python 的内置模块,但我相信,不少人对它都是陌生的。 ... demo.py import fileinput for line in fileinput.input(): print(line).
確定! 回上一頁