captcha_recognize icon indicating copy to clipboard operation
captcha_recognize copied to clipboard

generate

Open letarg0 opened this issue 7 years ago • 1 comments

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?

letarg0 avatar Feb 28 '18 12:02 letarg0

change xrange to range

rayhk6 avatar Apr 08 '18 08:04 rayhk6