snoop exist in a for loop after 10 iterations
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 1.5k
- Forks
- 42
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I am using snoop and its very useful
I have a list variable of 20k items. I just want to see the tracing for few iterations only.
```
@snoop
def mapping(inputlist):
testing = {}
for eachDict in inputlist:
for k, v in eachDict.items():
testing[k] = v
# <------- want to exist snoop after 5 iterations
# <------- want to exist snoop after 10 iterations
return testing
```
HOw can i achieve the above thing
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.