How to run a python app(tg bot) in background.
command: screen.
I mean that, how to run it after closing the terminal.
To accomplish this, make use of the 'screen' command; familiarize yourself with what the 'screen' command does.
Ok got it 1st: screen Then: python my_script.py
screen
python my_script.py
& it works finally.