PythonHub
Enlace
haz clic para mostrar
haz clic para mostrar
loopinfo: let your for loop know if it is on the first or last item
Python loops do not know where they are. loopinfo adds loop.first, loop.last, loop.index, loop.count, previous, next and more.
https://pypi.org/project/loopinfo/
1 · 102 ·