首页 > 编程语言 > 详细

2019年12月16日 明日科技 python语言基础

时间:2019-12-16 21:34:54      阅读:104      评论:0      收藏:0      [点我收藏+]
with open(‘test3.txt‘,‘w‘,encoding=‘utf-8‘) as f:
    print(‘this is test3.txt‘,file=f) #用print 输出到文件

 

2019年12月16日 明日科技 python语言基础

原文:https://www.cnblogs.com/python1988/p/12051372.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!