six.moves.range()についてのメモ
以下の3文はすべて同じ意味.
# python3
for i in range(10):
# python2
for i in xrange(10):
# sixモジュール使用
import six
for i in six.moves.range(10):
Go to list of users who liked
More than 5 years have passed since last update.
six.moves.range()についてのメモ
以下の3文はすべて同じ意味.
# python3
for i in range(10):
# python2
for i in xrange(10):
# sixモジュール使用
import six
for i in six.moves.range(10):
Register as a new user and use Qiita more conveniently
Go to list of users who liked