I have a file being saved from the web, I want to save it in count form, for example.
I saved the first time and I want to save it by putting the last number in the count form, the file name is 2021_06_, I want to put a number at the end to show the count, for example 2021_06_1 second time, save 2021_06_2
the third time you save 2021_06_3, always count the last number.
The variable I’m using is this,
datetime.now.adddays (-now.day) .tostring (“yyyy_MM_”)
I just need that after the last “_” comes the count, would anyone know how?
the file is being saved in computer folders