-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference UI from presented here #145
Comments
You'll need an environment which supports Unicode. This is the default for UNIX, but you should see http://stackoverflow.com/questions/388490/unicode-characters-in-windows-command-line-how for windows. |
Thanks for the reply. Could you please elaborate a bit more on how I can apply cp65001 to the console? I'm using cmder running ipython. Many comments also mentioned changing console encoding to cp65001 can potentially break many things, so this may not be the right way to do it, and I can't guarantee other people's computer all have console running @cp65001 Also, is there a reason why you choose to use "#" when encoding is ascii? I went back to your code and change "#" to "█" and it works like a charm. Is there a way why this should not be done? Thanks. |
I tend to make do with ascii in windows consoles - let us know if you find a better solution. Nor sure about the character you suggest. It's in the extended ascii table rather than the normal one (0-127) so may produce errors in certain non-unicode environments https://social.msdn.microsoft.com/Forums/en-US/home?sort=relevancedesc&brandIgnore=True&searchTerm=extended+ascii |
Windows |
Does |
Wow that is unexpected. Support for unicode but wrong handling of CR. Come on windows... May have to release a patch for this |
I'm also using win10 64-bit, but the OEM encoding is not Unicode because in windows language settings I set it to some other language if no unicode is found (the default language is still English though), due to the multi-language environment I'm working in. Anyway, just for the purpose of testing, I set my cmd to 65001 (Unicode), set the font to Lucida Console and run the test again. No, it just doesn't work, not to mention it breaks some of my .bat file containing foreign characters. So, I'm just gonna stick to "█" solution. Also, just some quick feedback here (you don't have to change) cuz I don't want to open new issues:
Imaging A is a collection of spreadsheets in a folder, and B is all the rows used in one spreadsheet. Previously, I was expecting to see 1 progress bar for A (Total, showing how many files are processed), and to see a bar for every finished spreadsheet, i.e. every loop in B. But instead, the bars in B loop will just overwrite itself due to the nature of the code. Maybe I didn't use the tqdm properly, but hope my feedback is helpful to you making tqdm a better tool. Thanks. |
Please try to install About IPython, there will be soon a About 1th and 4th @pingshunhuangalex, this will be fixed with the new method About 5th, this is normal, you should not add any line return character nor any other cursor positionning character, because it will break |
About the first 1th point about improper bar ncols formatting with custom bar formatting, this should be fixed with proposition #149 hopefully, thank's to @karanlyons. |
I just got the latest version of tqdm, but instead of a nice bar UI as presented in the homepage here, it just gives me ####### as progress bar. Is there a way to fix it? Thanks.
The text was updated successfully, but these errors were encountered: