verigak / progress

Easy to use progress bars for Python
ISC License
1.41k stars 179 forks source link

Fixed broken character in windows #44

Closed LiamGow closed 6 years ago

LiamGow commented 6 years ago

Fixed unprintable character (windows + python 3.6) in clearln.

verigak commented 6 years ago

I don't have a windows machine to test this, but it looks reasonable. Thanks!

bjsowa commented 6 years ago

On Python 2.7.14 it gives me:

NameError: global name 'sys' is not defined

Please fix this by adding import sys somewhere

verigak commented 6 years ago

Thanks @bjsowa. I have reverted the commit. I also missed that it wasn't following PEP8. Now I'll need some more confirmation that this indeed works on Windows for both Python 2.7 and 3 if it is to be committed again.