首页 新闻 会员 周边

为什么python中read(N)却返回N-1个字符

0
[已关闭问题] 关闭于 2020-01-27 21:02

fo = open("01.txt", "r+",encoding='utf-8')
str = fo.read(5)
print ("读取的字符串是 : ", str)
fo.close()

21尐傻瓜**七少的主页 21尐傻瓜**七少 | 菜鸟二级 | 园豆:202
提问于:2020-01-27 20:51
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册