Home
Sign Up
Sign In
推荐学习书目
›
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
V2EX
›
Python
python web 展示执行过程
hellotest
·
Sep 27, 2016
· 3118 views
This topic created in 3633 days ago, the information mentioned may be changed or developed.
在系统中执行一个 py 脚本 想把这个脚本的执行过程实时通过 web 输出出来,目前用的是 flask 框架,是否有好的处理方式,谢谢
是实时展示,就是执行一行,显示一行,而不是展示命令执行的结果
谢谢
执行
脚本
Web
一行
6 replies
1
cheetah
Sep 27, 2016 via iPhone
flask-socket
2
cheetah
Sep 27, 2016 via iPhone
https://github.com/kennethreitz/flask-sockets
3
hellotest
OP
Sep 27, 2016
@
cheetah
这个能解决吗? 我查了相关资料,没看到具体方式啊
4
cheetah
Sep 27, 2016
@
hellotest
你需要先了解下 websocket
5
yanzixuan
Sep 27, 2016
没人推荐 flask-socketio 么。。
6
hellotest
OP
Sep 27, 2016
@
yanzixuan
恩 这个模块好像资料更多啊
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2925 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 15:12
·
PVG 23:12
·
LAX 08:12
·
JFK 11:12
♥ Do have faith in what you're doing.
❯