【发布时间】:2017-03-08 14:05:52
【问题描述】:
当使用 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
【问题讨论】: