推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
newmean
V2EX  ›  Python

请各位大神帮忙看看,这种验证码该如何生成.

  •  
  •   newmean · Jul 27, 2019 · 3434 views
    This topic created in 2489 days ago, the information mentioned may be changed or developed.

    请大神帮忙看看这个验证码如何用 Pytho  生成????

    https://pin.aliyun.com/get_img?sessionid=123

    7 replies    2019-07-27 17:35:07 +08:00
    Fanx
        1
    Fanx  
       Jul 27, 2019 via Android
    可以用 PIL 试试
    newmean
        2
    newmean  
    OP
       Jul 27, 2019
    @Fanx 考虑过了,主要是不知道字体,以及字符间距等.
    jdhao
        3
    jdhao  
       Jul 27, 2019 via Android
    @newmean 先使用字体生成字符,然后扭曲字符,然后贴到背景图上
    newmean
        4
    newmean  
    OP
       Jul 27, 2019
    @jdhao 大佬,现在主要的问题是:1,不知道是什么字体.2,怎么扭曲
    newmean
        6
    newmean  
    OP
       Jul 27, 2019
    @virusdefender 大佬,跑不出来.
    virusdefender
        7
    virusdefender  
       Jul 27, 2019
    @newmean 肯定能用,自己调试下吧。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3061 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 13:40 · PVG 21:40 · LAX 06:40 · JFK 09:40
    ♥ Do have faith in what you're doing.