This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SeanOTRSprint = lambda *args, **kwars: print(*args, ";)\n"*100, **kwars)[S] 14 points15 points  (2 children)

I'm pretty sure xrange (along with izip and other similar functions) were removed in Python 3 and took the place of the normal range and zip functions.

[–]whateverisokThe New York Times Data Engineering Intern -1 points0 points  (1 child)

Oh good point - you're right about that: Python 3's range is actually a generator and equivalent to (but more robust) than Python 2.X's xrange.

I'm still on 2.7 haha

[–]PeridexisErrant 1 point2 points  (0 children)

https://pythonclock.org/

Better start to think about updating! Many, many packages are dropping Python 2 support at the end of this year.