美文网首页
读取文件夹下xls格式的文件

读取文件夹下xls格式的文件

作者: 山猪打不过家猪 | 来源:发表于2019-07-10 09:16 被阅读0次
        excelName = []
    
        for root, dirs, files in os.walk(os.getcwd()):
            for file in files:
                if "xlsx" and '$' not in file:
                    excelName.append(file)
    

    相关文章

      网友评论

          本文标题:读取文件夹下xls格式的文件

          本文链接:https://www.haomeiwen.com/subject/oiqckctx.html