我使用的是HTML5,Django,python3.4
1)我想要2使用Javascript/Jquery/AJAX/DJANGO/Anyshitstuff在html5文档中调用python脚本
代码(pyscript.py)=
print("Hello everyone")
注意文件pyscript.py
和{
2)我想在另一个python脚本中调用一个python脚本,我该怎么做?在
1.年
^{pr2}$2.年
//here i include python script that is 1.py then
print(a)
不能这样做(在HTML5中调用python脚本) 但您可以使用Javascript、AJAX来实现这一点
How do you execute a server-side Python script using jQuery?
相关问题 更多 >
编程相关推荐