Would appreciate a suggestion for a workaround or fix:
Python 3.9 running in docker-compose 3.8 and using CMD [ "python3", "-u", "app.py" ]
print('text', end='\r', flush=True)
will not print to terminal - want this printed.
print('text', flush=True)
will print to terminal.
Yes, using both "python3", "-u"
and flush=True
is an overkill. 🤷♂️
from Python 3 app running in docker-compose will not print using print('text', end='\r')
No comments:
Post a Comment