- 链接地址:https://blog.csdn.net/weixin_45515187/article/details/109282129
- 链接标题:029--python--输出helloworld到文件-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:3040
文章浏览阅读106次。fp = open('e:\python\B.txt','w',encoding='utf-8')print('hello,world', file=fp)fp.close()
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除