0

I am trying to make a list of all files in a folder. The folder name contains special characters.The files contains in this path: C:\yardi_backup_v2.%5C

import glob
filelist = glob.glob('C:\yardi_backup_v2\.%5C\*')
print(filelist)

It always give me an empty list.

My question is how to write this path properly.

Thanks

Yang L
  • 439
  • 3
  • 14

0 Answers0