🌈 搜索
📅  最后修改于: 2022-03-11 14:46:03.584000             🧑  作者: Mango
import os sum(os.path.isdir(os.path.join(path,i)) for i in os.listdir(path))