獲取您自己的 Python 伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
f = open("demofile.txt", "r") print(f.readlines(33))
['您好!歡迎來到 demofile.txt\n', '此檔案用於測試目的。\n']