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
相關文章
相關標籤/搜索