run python script from crontab raspberry pi code example
Example: crontab execute et boot
sudo crontab -e # if your command requires root permission
crontab -e # if you don't need root permission
# write in the crontab
@reboot here place your command
# save file