How could a single Python script run when Blender is started?
As documented in the manual, you can save your script in the scripts/startup/ directory with a .py extension and it will be automatically imported on startup.