Tmux

tmux new-session -s sesh0

python my_script.py

Exit:

Ctrl + b, d

Enter:

tmux attach-session -t sesh0

Kill:


List sessions

tmux list-sessions