python清空文件内容

python清空文件内容

1、用Python创建一个新文件f=open('f.txt','w')for i in range(0,10):f.write(str(i)+'n')f.close()2、删除文
Python140