![]() If you want to also organize your files into folders for each of the months, read on. It will make the changes right away (and Mac OS and Windows don’t let you to just hit “undo” - so be careful!). If you’re content with just renaming the files, feel free to run your code now. Phew! Ok, awesome! You’ve made it this far. rename() method on the file itself, passing in a concatenation of the directory and the new name. (if you were to print out a new_name, it’d look like this: /Users/nikpi/Desktop/Files/2021–01–01 - East - Sales.xlsx)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |