对于HTML网页运行python脚本 [英] Run python script for HTML web page
问题描述
我需要创建一个网站。
该网站需要运行一个Python脚本,一旦用户输入的数据。我已经搜查了净了一个多星期,现在并没有发现任何帮助。
每个人都只是告诉我下载Django框架,但没有身体展示了如何在HTML页面中运行Python脚本。
我没有在网页设计的经验,因为它不是我的领域。但我知道一点Python脚本和一些HTML的。
任何形式的帮助,使我到正确的方向将是极大的AP preciated。
i need to create a website. The website needs to run a Python script once the user enters the data. I have searched the net for over a week now and haven't found any help. Everybody just tells me to download DJango framework, but no body shows how to run python scripts in html web pages. I dont have any experience in web design as it is not my field. But i do know a bit of python scripting and some html. Any kind of help that puts me into right direction would be greatly appreciated.
推荐答案
如果您真的要像JavaScript中,结果在客户端上运行Python
一起来看看: Brython ,的 skulpt 或 PYRIS
If you really want to run python on the client like javascript,
take a look at: Brython, skulpt or pyris
这篇关于对于HTML网页运行python脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!