仅列出标题 列出摘要

python 列出指定目录下指定拓展名的文件

  1 import glob
  2 print glob.glob("/tmp/*.py")

posted on 2013-01-19 15:59  baoyiluo  阅读(240)  评论(0编辑  收藏  举报