6 ms·
Using i and j in loops makes code much less self-explanatory, especially when you could use "page_index" and "image_index" instead.
by jfz 8y ago
Using i and j in loops makes code much less self-explanatory, especially when you could use "page_index" and "image_index" instead.
- lou1306 8y agoEven better, replacing for i in range(len(imgid)): and similar lines with: for i, img in enumerate(imgid): would allow one to get rid of all these list accessors.