add FAQ about py2 pipes

- closes #359
This commit is contained in:
Casper da Costa-Luis 2019-01-18 23:58:13 +00:00
parent 85af52446b
commit ff1476453f
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
1 changed files with 3 additions and 0 deletions

View File

@ -252,6 +252,9 @@ of a neat one-line progress bar.
- Wrapping zipped iterables has similar issues due to internal optimisations. - Wrapping zipped iterables has similar issues due to internal optimisations.
``tqdm(zip(a, b))`` should be replaced with ``zip(tqdm(a), b)`` or even ``tqdm(zip(a, b))`` should be replaced with ``zip(tqdm(a), b)`` or even
``zip(tqdm(a), tqdm(b))``. ``zip(tqdm(a), tqdm(b))``.
- `Hanging pipes in python2 <https://github.com/tqdm/tqdm/issues/359>`__:
when using ``tqdm`` on the CLI, you may need to use python 3.5+ for correct
buffering.
If you come across any other difficulties, browse and file |GitHub-Issues|. If you come across any other difficulties, browse and file |GitHub-Issues|.