with open

with open("文件名","w") as f:                      # w:写文本文件     wb写二进制文件

    f.write()

posted @ 2019-01-05 09:17  太空堡垒啦啦啦  阅读(379)  评论(0编辑  收藏  举报