也是关于open
请问>>> f.open('D:\\teio.txt','w')
Traceback (most recent call last):
File "<pyshell#104>", line 1, in <module>
f.open('D:\\teio.txt','w')
AttributeError: '_io.TextIOWrapper' object has no attribute 'open'
这个是错在哪里呢 f = open('D:\\teio.txt','w') 冬雪雪冬 发表于 2021-10-8 21:13
f = open('D:\\teio.txt','w')
谢谢
页:
[1]