willsonlincake 发表于 2022-4-5 13:58:49

Python新建txt文件

如果有则打开,否则新建
fobj=open(filename,'w')
fobj.close()
页: [1]
查看完整版本: Python新建txt文件