iter() not working with datetime.now() – stackoverflow.com

A simple snippet in Python 3.6.1: import datetime j = iter(datetime.datetime.now, None) next(j) returns: Traceback (most recent call last): File "<stdin>", line 1, in <module> ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "iter() not working with datetime.now() – stackoverflow.com"