1
pweave로 python 스크립트 파일을 처리 할 때 모든 코드에 echo = False 플래그를 설정하려면 어떻게해야합니까?echo = 기본적으로 pweave에 거짓이 있습니다.
최소 예 :
#' # 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