kitar 最近的时间轴更新
kitar

kitar

V2EX 第 191027 号会员,加入于 2016-09-09 11:54:09 +08:00
kitar 最近回复了
2017-08-30 15:43:11 +08:00
回复了 schema 创建的主题 Python Flask+Ajax 的模板如何添加按钮,点击后刷新局部页面
<button onclick="newMonitorModal(0)">新建调度</button>

function newMonitorModal(id_) {
$('#modal-content').html("");
$.get(
"{{ url_for('mt.NewMonitor') }}",
{
id: id_
},
function (response) {
$('#modal-content').html(response);
}
}
);
}
processes
flask 启动的时候可以设置--progress 参数,可以设置允许的并发数
@hosiet 这两个好像没啥区别吧
2016-11-04 13:14:36 +08:00
回复了 crytis 创建的主题 Python __init__.py 除了 包的作用,还有什么?
建议你看下 python 的库源码,看看别人怎么用__init__
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1137 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 18:50 · PVG 02:50 · LAX 11:50 · JFK 14:50
Developed with CodeLauncher
♥ Do have faith in what you're doing.