def findsome(subdir, extensions):
"""Find files under subdir having specified extensions
Leading directory (niceman) gets stripped
"""
return [
f.split(pathsep, 1)[1] for f in findall(opj('niceman', subdir))
if splitext(f)[-1].lstrip('.') in extensions
]
# niceman version to be installed
评论列表
文章目录