外观
docker
2023-06-25
在print语句中加上flush=True
print
flush=True
或者
在.yml文件中传入环境变量:- PYTHONUNBUFFERED=1
.yml
- PYTHONUNBUFFERED=1