We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import tqdm, sys print(tqdm.__version__, sys.version, sys.platform)
4.66.5 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] linux
➜ LC_NUMERIC=pl_PL.UTF-8 seq 3 .1 5 | tqdm --total 5 --update-to 0%| | 0/5 [00:00<?, ?it/s] 3,0 Traceback (most recent call last): File "/usr/bin/tqdm", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/lib/python3.12/site-packages/tqdm/cli.py", line 308, in main callback(i) File "/usr/lib/python3.12/site-packages/tqdm/cli.py", line 305, in callback t.update(numeric(i.decode()) - t.n) ~~~~~~~~~~~~~~~~~~~~^~~~~ TypeError: unsupported operand type(s) for -: 'tuple' and 'int' tokariew in ~/NFS/Media/podcast4 v3.12.6 ✗ tqdm --version 4.66.5
The text was updated successfully, but these errors were encountered:
Rather than some hack (SO#7106417), maybe just use tr , .?
tr , .
LC_NUMERIC=pl_PL.UTF-8 seq 3 .1 5 | tr , . | tqdm --total 5 --update-to
Sorry, something went wrong.
casperdcl
No branches or pull requests
read the known issues
environment, where applicable:
The text was updated successfully, but these errors were encountered: