How to extract file name as a string when iterating over files using `pathlib.Path().glob()`?

后端 未结 0 499
挽巷
挽巷 2020-12-28 21:26
import pandas as pd
from pathlib import Path

Reports = Path(\'path/text\').glob(\'*.txt\')
for report in Reports:
    raw_tex         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题