摘要: python的aop: 首先,我们定义一个函数: 如果,我们想在这个函数执行前以及函数执行后,分别输出"before the function run"和"after the function run",那我们可以这么写,在函数体中,插入: 这样我们便可以实现我们想要的效果了。 但是,我们想要在很多 阅读全文
posted @ 2019-08-05 16:09 可乐遇上雪碧 阅读(144) 评论(0) 推荐(0) 编辑