a 和 b - python 函数,c - 简单的 noweb 插入到 python 源代码块,以及 d - noweb 插入到与 noweb 插入一起运行。函数 c -- 正在工作,但函数 d -- 没有,因为 python 尝试执行插入,但这是无效的语法。是否可以从 noweb 插入运行 noweb 插入?
#+NAME: a
#+BEGIN_SRC python
a = 1
#+END_SRC
#+NAME: b
#+BEGIN_SRC python
b = 1
#+END_SRC
#+NAME: c
#+BEGIN_SRC python :noweb yes :results output
<<a>>
<<b>>
c = a + b
print c
#+END_SRC
#+NAME: d
#+BEGIN_SRC python :noweb yes :results output
<<c>>
d = c * 2
print d
#+END_SRC