Python 3.2 xrange not defined

Describes the cause and action for error messages.


Error Message(English):
3.2 xrange not defined

Resolution


関連リンク


NameError: global name 'xrange' is not defined in Python 3 - Stack ...
https://stackoverflow.com/questions/17192158/nameerror-global-name-xrange-is-not-defined-in-python-3・・・

Name 'xrange' is not defined in Python 3
https://stackoverflow.com/questions/31104416/name-xrange-is-not-defined-in-python-3

What is the difference between range and xrange functions in ...
https://stackoverflow.com/questions/94935/what-is-the-difference-between-range-and-xrange-functions-・・・

Why is there no xrange function in Python3?
https://stackoverflow.com/questions/15014310/why-is-there-no-xrange-function-in-python3

NameError in nested comprehensions
https://stackoverflow.com/questions/12259251/nameerror-in-nested-comprehensions

Name 'xrange' is not defined in Python 3 - Stack Overflow
https://stackoverflow.com/questions/31104416/name-xrange-is-not-defined-in-python-3/31104439

Python 2.7.x と 3.x の決定的な違いを例とともに | POSTD
https://postd.cc/the-key-differences-between-python-2-7-x-and-python-3-x-with-examples/

Differences between range and xrange functions | python Tutorial
https://riptutorial.com/python/example/2840/differences-between-range-and-xrange-functions

Python Language - 範囲関数とxrange関数の違い | python Tutorial
https://riptutorial.com/ja/python/example/2840/%E7%AF%84%E5%9B%B2%E9%96%A2%E6%95%B0%E3%81%A8xrange%E・・・

[Python 3.5] NameError: name 'long' is not defined ・ Issue #344 ...
https://github.com/fredrik-johansson/mpmath/issues/344



Name:
Comment:



[return to Python エラーコード一覧]