makedirs(dirname, exist_ok=True) f = open(path, "a+") # Check that the file is newline-terminated size = os.path.getsize(path) if size > 0: f.seek(size - 1) end ...
確定! 回上一頁