fileinput 是Python 的內建模組,但我相信,不少人對它都是陌生的。 · # demo.py import fileinput for line in fileinput.input(): print(line).
確定! 回上一頁