V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
Canrz
V2EX  ›  Python

求推荐个 Python 里面类似于 HTML 5 Canvas 的库

  •  
  •   Canrz · 2017-05-22 02:37:25 +08:00 · 2376 次点击
    这是一个创建于 2503 天前的主题,其中的信息可能已经有所发展或是发生改变。
    没学过 python,一直写 js 的。起因是表侄女要交 python 作业,帮她选了个 js 效果,然后准备改成 python 版,就是这个: http://sandbox.runjs.cn/show/5mq04f9k
    周末对着 python 手册试着敲了下代码,现在求推荐个简单常用或者 API 手册比较齐全的库。
    4 条回复    2017-05-22 16:30:34 +08:00
    Kilerd
        1
    Kilerd  
       2017-05-22 08:36:58 +08:00 via iPhone
    pil ?
    Canrz
        2
    Canrz  
    OP
       2017-05-22 09:55:42 +08:00
    @Kilerd 搜了下,这是个主要用来处理图片的库吧
    zhidian
        3
    zhidian  
       2017-05-22 15:22:25 +08:00
    The Tkinter Canvas Widget?
    Canrz
        4
    Canrz  
    OP
       2017-05-22 16:30:34 +08:00
    @zhidian 我看看,目前找了个叫 graphics 的库,貌似没有重绘方法
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5355 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 09:02 · PVG 17:02 · LAX 02:02 · JFK 05:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.