You can use slice:

new_iterator = iterator[50001:]
it2 = iter(new_iterator)

or range:

for i in range(50001, len(iterator)):
    x = iterator[i]
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/KP6DAY4YQVA6LOX2XCRMIAEK5W3JZVG5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to