摘要:
用来暴露接口 控制 from xxx import * 的行为 代码中当然是不提倡用 from xxx import * 的写法的,但是在 console 调试的时候图个方便还是很常见的。如果一个模块 spam 没有定义 __all__,执行 from spam import * 的时候会将 spa 阅读全文
posted @ 2019-01-13 22:38
心媛意码
阅读(197)
评论(0)
推荐(0)
摘要:
以字典的形式返回当前位置的全局变量 阅读全文
posted @ 2019-01-13 22:33
心媛意码
阅读(154)
评论(0)
推荐(0)
摘要:
cal = Caculator(1, 2) Caculator.class_info() cal.class_info() Caculator.static_show(3, 4) cal.static_show(3, 4) 阅读全文
posted @ 2019-01-13 22:12
心媛意码
阅读(6119)
评论(0)
推荐(2)

浙公网安备 33010602011771号