摘要:
先来看一段Python代码:def info(object, spacing=10, collapse=1): """Print methods and doc strings. Takes module, class, list, dictionary, or string.""" methodList = [method for method in dir(object) if callable(getattr(object, method))] processFunc = collapse and (lambda s: &quo 阅读全文
posted @ 2011-07-27 14:05
何塞穆里尼奥
阅读(599)
评论(4)
推荐(0)

浙公网安备 33010602011771号