Home > other >  How to match processed_data_mok_ilk_olk_pkk_pp. CSV file name
How to match processed_data_mok_ilk_olk_pkk_pp. CSV file name

Time:10-08

Hundreds of each file name to extract processed_data began, want to extract mok_ilk_olk_pkk_pp this part, namely processed_data and the CSV between content, how to write code?

CodePudding user response:

Pattern=re.com plie processd_data_ (" (. *?) CSV)
Jieguo=re. The.findall (the pattern, the file name)
  • Related