【发布时间】:2021-05-11 19:58:52
【问题描述】:
我想打开我在列表中附加的.xlsx 文件。我编写了一个代码来显示所有带有.xlsx 扩展名的子目录文件以及所有附加在列表中的文件。谁能告诉我如何在我附加的列表中显示特定的.xlsx 文件?
import io
import os
from zipfile import ZipFile
import pandas as pd
import numpy as np
import glob
from pathlib import Path
entries = Path('Daybook Sample for Automation/')
for entry in entries.iterdir():
for sub_entry in entry.iterdir():
total=sub_entry.name
list_append=[]
list_append.append(total)
print({total})
【问题讨论】:
标签: python pandas keras jupyter-notebook