I did a Python application which needs to open an excel file to find data inside.
Every time this excel file has a new version its name is also changed like test_V1.2.xlsx
to test_V1.3.xlsx
so my path becomes incorrect.
I have no idea how to correct this dynamically, is it possible to point on test_V like with a regular expression?
my path looks like this :
wb = xl.Workbooks.Open(r'C:\Users\300231823\Desktop\GUI\simplenew4_V1.1.xls')
When someone change the file version to simplenew4_V1.2.xls my variable WB do not point on my excel file and my program do not works