2019年11月14日

python3相关

摘要: with用法 with A as B: 语句 调用( A返回的类) 的__enter__方法 将该方法返回值赋予B, 执行完with语句块后, 调用类的__exit__方法 阅读全文

posted @ 2019-11-14 16:05 BITChase 阅读(136) 评论(0) 推荐(0) 编辑

导航