Python_Note_3–file.open,write,close

It’s not a easy time to learn so many things, but it’s worth and funny. python file action: 1.code context: from sys import argv from os.path import exists import shutil script, from_file, to_file =argv # unpack target = open(from_file, “w+”) # “w+” clear all, and re-write file, can seek(0), then read without close it. print … Read morePython_Note_3–file.open,write,close