import functools
print = functools.partial(print, flush=True)
python name.py > name.log
nohup python name.py > name.log 2>&1 &
import functools
print = functools.partial(print, flush=True)
python name.py > name.log
nohup python name.py > name.log 2>&1 &