I need to download a file that is automated on SharePoint. The thing is this file has the following filename structure:
fileYYYYMmm.xlsb
Example: file2022M03.xlsb
I must refer to this file using a wildcard or something (I don't know what exactly), to get dynamically that file.
Example: file????M??.xlsb
I'm using the following line code
download_path = sp.create_link(f'https://enterprise.sharepoint.com/:x:/r/sites/GLB-GIS-PERISCPE/Shared%20Documents/TMS_Ch/file/file'+str(yy)+'M'+'??'+'.xlsb')
How can I do this in Python?