Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate #11

Open
letarg0 opened this issue Feb 28, 2018 · 1 comment
Open

generate #11

letarg0 opened this issue Feb 28, 2018 · 1 comment

Comments

@letarg0
Copy link

letarg0 commented Feb 28, 2018

I get this

$python ./captcha_gen_default.py 
>> generate 1000 captchas in ./data/test_data
Traceback (most recent call last):
  File "./captcha_gen_default.py", line 55, in <module>
    gen(FLAGS.test_dir, TEST_SIZE, CHARS_NUM)
  File "./captcha_gen_default.py", line 28, in gen
    for i in xrange(total_size):
NameError: name 'xrange' is not defined

what I can to do?

@rayhk6
Copy link

rayhk6 commented Apr 8, 2018

change xrange to range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants