Currently only working for windows, this is my first attempt to create a finished project in python, so if you discover any issues besides the ones already mentioned or perhaps an oversight in the way I have constructed my code, please feel free to make any advancing changes.
- Minor issue catching temp files when processing downloads
My current setup works with a bat script in my startup folder to run this python project.
Where do we find this folder? Press Win
+ R
, this will open a window where you
will copy and paste this directory C:\Users\(your-name)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
.
There you will create a file called startup.bat
, the name doesn't matter only the contents that follow.
@echo off
start "WhatEverTitleYouWant" "C:\Python311\Projects\organiser\main.pyw"
The directory in the second paramater is there for you to provide where you wish to have this project be. I chose my root python directory to get rid of my own stress >.> but you can do what you want.
From here you must have setup the startup and where you want the project to be stored, and now we almost forgot to install our modules.
We utalize the Watchdog module to observe these files and folders so let's install them with a simple command.
pip install Watchdog
Restart your device and when you boot up again you should see your files already organized, if not then you must simply move a file to the Downloads folder and you should see it work.
Otherwise, please create an issue and elaborate on your situation or how the process can be improved.