non è una cosa che fai con python ma su linux usi i crontab, systemctl, o il .bashrc.
Cerca start on boot. Considera che all'avvio l'OS avvia delle risorse e in quei file scrivi cosa avviare (nel tuo caso anche degli script in python). Se invece hai un app ti serve il web server tipo uwsgi + nginx + systemctl