11,877
社区成员




其实很简单
with open("xxx.txt",'a+') as f:
f.write('your text')
这个红色的怎么处理
我刚才遇到了这个情况,第一次用Python,不知道怎么办
刚才就出现了这个
Traceback (most recent call last):
File "C:\Users\DELL\Desktop\hello.py", line 1, in
printf("hello Python!")
NameError: name 'printf' is not defined