Skip to content Skip to sidebar Skip to footer

Name 'xrange' Is Not Defined In Python 3

I try to execute following code but can't with mistake: name 'xrange' is not defined pages = ( requests.get( build_group_request({ 'offset': WINDOW_SIZE * i

Solution 1:

You're probably using Python3, where xrange has become range.


Post a Comment for "Name 'xrange' Is Not Defined In Python 3"