python3.4中的 Template Template模块,可以用来制作web页面的模板,非常的方便。 Template属于string中的一个类,所以要使用的话要在头部引入: from string import Template 模板替换变量采用的是$符号,而不是%,它的使用要遵循…