Home > Q&A > body text
xmlhttp.open("GET","{{url_for('static',filename="test.py")}}",ture);
难道不是应该执行test.py的脚本么?为什么每次都是把test.py当做文本返回?
test.py
比如我的test.py只有一行print "hello,world",怎么能够执行它而不是把这个语句当做文本显示在浏览器上呢
print "hello,world"