>>464
クロージャは?

def create_writer(f):
__fを新規作成
__def write(s):
____fを追記open
____sを追記
____f.close()
__return write

writer=create_writer(f)
writer(あああ)
writer(いいい)