nohup python your_script.py &

如果要杀死进程

ps -ef | grep python