How to keep the python code running after i exit console?

I am working on a project where I need to send notification via text. So I want to upload the python code and keep it running as long as the boltiot board has power…how to do it.

@junkstuff2199 You can use the & operator to make the python code run in the background.
Example
python my_code.py &

1 Like

You can use the & operator to make the python code run in the background.