fp = open('e:\python\B.txt','w',encoding='utf-8')
print('hello,world', file=fp)
fp.close()
029--python--输出helloworld到文件
最新推荐文章于 2022-04-05 17:02:46 发布
fp = open('e:\python\B.txt','w',encoding='utf-8')
print('hello,world', file=fp)
fp.close()