V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  kitar  ›  全部回复第 1 页 / 共 1 页
回复总数  5
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   ·   我们的愿景   ·   实用小工具   ·   3606 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 11:19 · PVG 19:19 · LAX 04:19 · JFK 07:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.