search

Home  >  Q&A  >  body text

python的一个验证码识别问题

网上找了一个验证码识别的程序,执行后返回如下的一串数据,怎么转换成字符串呢?

高洛峰高洛峰2888 days ago394

reply all(3)I'll reply

  • 黄舟

    黄舟2017-04-17 17:57:40

    I didn’t answer the question because it was unclear, but I invited...

    1. If you don’t want to change the content of a.py, you can consider directing the output to a text file first and then processing the text python a.py >> out

    2. But I think you should just change the logic of the file a.py and directly store the value of the list where you want to output the list content.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:57:40

    Post the code

    reply
    0
  • 迷茫

    迷茫2017-04-17 17:57:40

    Traverse the list directly and process each element with the str function. But generally such verification codes look at the 1s and 0s and identify the graphics through connections.

    reply
    0
  • Cancelreply