HTML中的Python脚本 [英] Python scripts in HTML
本文介绍了HTML中的Python脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以像在<?php ... ?>
标签之间编写PHP一样,以HTML代码编写Python
脚本?
Is it possible to write Python
scripts in HTML code similarly as you write PHP between <?php ... ?>
tags?
我想实现我的Python
应用程序将在浏览器中运行.
I'd like to achieve that my Python
application will run in the browser.
感谢您的帮助
推荐答案
PHP无法在浏览器中运行,因为它是服务器端语言.您可以尝试速写尝试在浏览器中运行python.
PHP doesn't run in the browser, as it is a server side language. You could try Skulpt to try to run python in the browser.
这篇关于HTML中的Python脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文