1 Star 1 Fork 8

打伞的鱼/Dkit

forked from wei2011/Dkit 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run.py 329 Bytes
一键复制 编辑 原始数据 按行查看 历史
wei2011 提交于 2015-02-06 16:14 +08:00 . first commit
#coding=utf-8
import sys
from app import app
import eventlet
from eventlet import wsgi
#import locale
#locale.setlocale(locale.LC_ALL,'')
#eventlet.monkey_patch()
port=5002
if len(sys.argv)>1:
try:
port=int(sys.argv[1])
except:
pass
#app.debug=True
wsgi.server(eventlet.listen(('0.0.0.0', port)),app)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/yuyx-lovefish/Dkit.git
[email protected]:yuyx-lovefish/Dkit.git
yuyx-lovefish
Dkit
Dkit
master

搜索帮助