推荐学习书目
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
itfanr
V2EX  ›  Python

神奇的网站 浏览器里调试 Python

  •  
  •   itfanr ·
    itfanr · Mar 21, 2014 · 6065 views
    This topic created in 4460 days ago, the information mentioned may be changed or developed.
    10 replies    2018-02-28 16:43:49 +08:00
    inee
        1
    inee  
       Mar 21, 2014
    早就有这类的吧
    ritksm
        2
    ritksm  
       Mar 21, 2014
    7anshuai
        3
    7anshuai  
       Mar 22, 2014
    代码执行过程可视化,这个很赞
    sunocean
        4
    sunocean  
       Mar 22, 2014
    可以躺床上用ipad玩了,谢谢楼主
    itfanr
        5
    itfanr  
    OP
       Mar 22, 2014
    @sunocean
    @7anshuai 感觉很有意思啊!
    openroc
        6
    openroc  
       Mar 22, 2014
    教学不错,:)
    ericls
        7
    ericls  
       Mar 23, 2014
    python.org也可以的
    yegle
        8
    yegle  
       Mar 23, 2014   ❤️ 2
    这种东西太多了。但是不是所有这类web版Python都是一样的

    iPython是提供了web版(运行ipython notebook),但是需要pyzmq之类东西,反正我在OS X下是没成功跑起来的。实际输入后的内容是发送到服务端的intepreter然后执行的。看了一下pythontutor.com也是这样,用GET请求将源码发送到服务器然后执行。

    python.org提供的interactive shell是host在pythonanywhere上的,对应的一个linux container,加上一个ajax的terminal实现动态显示。

    最牛逼的要放在最后说。 http://repl.it/ 乍一看和上面说的各种网站没区别。你错了…这个网站是将CPython编译成Javascript然后在浏览器里执行。源码在 https://github.com/replit/empythoned 使用的是 https://github.com/kripken/emscripten 项目将LLVM的byte code翻译成Javascript,让几乎任何解释型语言能在浏览器里执行。 http://repl.it/languages 列出了支持的语言列表。
    ericls
        9
    ericls  
       Mar 23, 2014
    @yegle 这个太牛叉了
    itfanr
        10
    itfanr  
    OP
       Feb 28, 2018 via Android
    @yegle 非常好
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1166 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 23:58 · PVG 07:58 · LAX 16:58 · JFK 19:58
    ♥ Do have faith in what you're doing.