bext icon indicating copy to clipboard operation
bext copied to clipboard

Python 3.10.7 sys.out.write error

Open panabar opened this issue 2 years ago • 0 comments

Here is an error message from bext module when bext.hide() is used in analogClock.py example.

File` "...Documents/python/tutorial-env/lib/python3.10/site-packages/bext/__init__.py", line 588, in hide
sys.out.write('\033[?25l')
AttributeError: module 'sys' has no attribute 'out'`

Also, if I experiment and change the 'sys.out.write...' to 'sys.stdout.write...' the next line results in the same error message

File "/home/serkank2/Documents/python/tutorial-env/lib/python3.10/site-packages/bext/__init__.py", line 589, in hide
sys.out.flush()
AttributeError: module 'sys' has no attribute 'out'

Thank you for the great resources.

panabar avatar Sep 26 '22 04:09 panabar