- Python pring function with flush=True NVDA not reading the updated messages in Windows PowerShell
Re: Python pring function with flush=True NVDA not reading the updated messages in Windows PowerShell
toggle quoted messageShow quoted text
Quentin Christensen 於 16/5/2022 11:22
This question is partly related to NVDA and partly related to
Supposed I have the following python script and stored in a
'test.py', which print out a new string of text after every
for i in np.arange(10):
0)).removesuffix('.0')}%", end="\r", flush=True)
1. I open Windows PowerShell
2. type python test.py
3. the script starts running
I am expecting that NVDA can automatically speak out the new
text, but in my test, after the first 'Spleeping...' was
did not speak the updated messages.
What can I do to make NVDA speak the updated messages? Thanks.
Training and Support Manager
Join email@example.com to automatically receive all group messages.