← 返回卡片

原书出处

利用Python进行数据分析

核验版本的摘录快照 · 导入于 2026-11-20T05:14:01.184Z

ng to call %s" % f)

return f(*args, **kwargs) def g(x, y, z=1): return (x + y) / z 然后,如果我们通过say_hello_then_call_f调用g,就会得到: In [8]: say_hello_then_call_f(g, 1, 2, z=5.) args is (1, 2) kwargs is {'z': 5

.0} Hello! Now I'm g

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/OReilly精品图书系列共21册(《Javascript权威指南》、《机器学习:实用案例解析》、《编写可读代码的艺术》、《算法精解》等)/_epub-src/text/part0317_split_002.html

EPUB SHA-256:06582ecdf071724c9e218bc2698d2fff4e82a992d672b287e4c2e6092c924bcf