Jul-07-2021, 12:19 AM
(Jul-05-2021, 05:41 AM)perfringo Wrote: Last item will always be there after iteration:
>>> for i in range(2): ... pass ... >>> i 1
i am doing an lzma.open() or bzip2.open() or gzip.open() call each time. the mode needs to be binary each time except the last. are you assuming that i need to do an additional action after the last? i need to change the 2nd argument on the last one (even if it is the only one).
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.