Hey,

wanted to learn python so I made a script that will delete files (prompts before deleting just in case haha) from your download folder that have not been accessed in over 7 days or in the same month. Every time I do a fresh install my download directory always get clogged with files that I only needed once and ends up taking SSD space so I made this.

Program only runs every 7 days but checks once every hour if 7 days has passed or the current month in the settings files is not the same. That is handled by a windows application I wrote in C# which runs hidden in the background.

You must login or register to view this content.

First python program so any tips on how to improve my code is appreciated.