欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/Agda, C++/Erlang/Lisp
Python Templating Language
来自开放百科 - 灰狐
PTL = Python Templating Language
example.ptl:
- To callers, templates behave like regular Python functions
def cell [html] (content): '<td>' # Literal expressions are appended to the output content # Expressions are evaluated, too. '</td>'
def row [html] (L): # L: list of strings containing cell content '<tr>' for s in L:
分享您的观点