Background
When we execute a python task ,it's logs print delayed
images
Suggestion
use “python -u ” to execute the python script, instead of "python"
or write the following code to the xxxx.command file
import os ;
os.environ['PYTHONUNBUFFERED'] = str(1)
Quote
https://blog.csdn.net/lmb1612977696/article/details/78648148
https://cloud.tencent.com/developer/article/1566956