I am trying to use shutil.copy to copy files that I don’t know the whole name for. The names typically are 11_11_2023_functional. The date changes each for each file but they are in separate folders. How can I copy the file based on the fact that it says ‘functional’ in the name of it?
I was using the basic shutil.copy command and it works. I tried using a variable in the name but it won’t work because I am unaware of the date on the file name.