W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_ref_file_readline_3.py:
f = open("demofile.txt", "r") print(f.readline(5))
x
f
=
open
(
"demofile.txt"
,
"r"
)
print
(
f
.
readline
(
5
))