Python 3: `NameError: global name 'xrange' is not defined`
You can get it from `six.moves`