python save to file,file.close()