BitTheByte/YouTubeShop

NameError: name 'xrange' is not defined

DentyTxR opened this issue · 3 comments

cant even fix a simple error! XD

Traceback (most recent call last):
File "yt.py", line 84, in
threader.put(Like,[credentials[0],credentials[1],yt_id])
File "/data/data/com.termux/files/home/YouTubeShop/lib/multi.py", line 46, in put
for _ in xrange(self.q.qsize()): self.__t()
NameError: name 'xrange' is not defined
$

Hi @DentyMods

Thanks for contacting me, this tool don't fully support python 3 yet. the following error because xrange function got renamed to range at python 3. Please use any version of python 2.7.* instead

oh lol sorry kinda forgot that oof

No problem :)
Have a good day!