0
I need to copy a TXT file daily from one folder to another, but the file is renamed according to the date, the end after the "_"
always changes with the date value.
Ex: _20181205.txt
, _20181206.txt
, _20190101.txt
.
Below is the code where I stopped.
shutil.copy('/8.Relatórios/03. SAM/01_TemposMédios_20181205.txt','C:/Users/br0151338587/Desktop/laboratorioPython')
Would anyone know how to solve this question?
Note: the first url is from a network folder, so I deleted the start to
facilitate reading.