Commit cd4e7e4e by BellCodeEditor

auto save

parent 59f687ca
Showing with 7 additions and 0 deletions
file=open("C:\\Users\\TH\\Desktop\\czt","a",encoding="utf-8")
file=open(r"C:\Users\TH\Desktop\czt","w",encoding="utf-8")
5. with open() as 打开方式2 不需要关闭文件
with open("路径",mode,encoding="utf-8") as 文件名:
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment