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
dczhijun
V2EX  ›  Python

请教一个 Django 的问题

  •  
  •   dczhijun · 2017-03-16 22:34:14 +08:00 · 1211 次点击
    这是一个创建于 2599 天前的主题,其中的信息可能已经有所发展或是发生改变。
    大家好,最近用 django 做一个项目,遇到点问题,向大家请教下,情况是这样的。 web 页面上有个文本框,用户输入 python 代码,页面上有运行按钮,点击后保存到服务器端执行,然后将结果取回显示,目前能实现程序运行完成后整个结果取回显示,问题是,当运行的python代码运行时间比较长时,需要显示当前实时的运行结果到界面,不知道各位有什么好的思路没有,谢谢大家~~
    1 条回复    2017-03-20 19:52:17 +08:00
    guolingbing
        1
    guolingbing  
       2017-03-20 19:52:17 +08:00 via Android
    有点像 jupyter notebook 啊
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1417 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:14 · PVG 01:14 · LAX 10:14 · JFK 13:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.