Python:关于logging的使用

关于logging的占位符的使用。 logging.info("错误信息,占位符1{},占位符2{}", 参数1, 参数2) 但是如果是这种呢? logging.info( f"Loading features from cached file {cached_features_file} [took %.3f s]", time.time() - start ) Python里面的描述: imp
相关文章
相关标签/搜索