python新的字符串格式化是str的format方法,而他对关键字替代的标识符是{} [python] view plain copy “str:{0}”.format("STR") "str:{name}".format(name = "STR")