<built-in method close of _io.TextIOWrapper object at 0x000001CCEA348DC8>
<built-in method close of _io.TextIOWrapper object at 0x000001CCEA348EA0>
<class 'builtin_function_or_method'>
<class 'builtin_function_or_method'>
感觉f被赋值后应该和open(to_file,'w+')性质功能都一样啊
为什么
f=open(to_file,'w+')
f.write(indata)
f.close