阅读背景:

是否可以在python中使用可选的with/as语句?

来源:互联网 

Instead of this:

而不是:

FILE = open(f)
do_something(FILE)
FILE.close()
FILE = open(f)
do_som



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: