在使用 pweave 处理 python 脚本文件时,如何将标志 echo=False 默认设置为所有代码。
最小的例子:
#' # Minimal example.
#' This is a minimal example, which
#' says 'hello' to you.
#+ echo=False
print('Hello')
#' The end.
哪个被处理
# either: py to html
pypublish test.py
# or: py to markdown
pweave -f pandoc test.py