---
title: "open写文件时候的使用"
author: "conjohn668"
date: "2010-09-24T00:30:23Z"
tags: []
categories: ["编程语言"]
slug: "open"
draft: false
lastmod: "2010-09-24T00:30:23Z"
id: 770209
url: "https://conjohn668.iteye.com/blog/770209"
---

open(filepath,'w').write()这种匿名形式可以使用，不用显示调用f.close()了，方便