摘要: 1. python内置模板 string >>> import string >>> a = string.Template("$who is $role") >>> a.substitute(who='jenny', role='teacher') 'jenny is teacher' >>> 内 阅读全文
posted @ 2020-10-14 18:15 bhz 阅读(409) 评论(0) 推荐(0) 编辑