Python little knowledge str.format() 作用:替换str中的替代变量。 “I am {}”.format("NIcklas") https://blog.csdn.net/jpch89/article/details/84099277