local=f"/home/server/Desktop/backupdestination/{year}/{month}/{date}/
This is my dir and after date there are many folders within them
/home/server/Desktop/backupdestination/{year}/{month}/{date}/foldername1
/home/server/Desktop/backupdestination/{year}/{month}/{date}/foldername2
How do I get the foldername1 and foldername2 get printed using python?