[英]Web GUI for python scripts
Lets say I have some scripts that I run on FreeBSD 11 (python or SH), they take some arguments, etc and return some metrics or console output messages, is it possible to write a Web GUI to provide a front-end for those scripts? 可以说我有一些在FreeBSD 11上运行的脚本(python或SH),它们带有一些自变量,等等,并返回一些度量或控制台输出消息,是否有可能编写Web GUI为这些脚本提供前端? Some way that it would let the user input the arguments (or pick from dropdown boxes) and display the output of the scripts. 通过某种方式,用户可以输入参数(或从下拉框中选取)并显示脚本的输出。
I was reading around and cant find where to start. 我正在阅读,找不到从哪里开始。 I would like the GUI to be visually appealing, so it can also show a Dashboard with gauges, for CPU, HDD and RAM. 我希望GUI具有视觉吸引力,因此它还可以显示带有仪表盘的仪表板,用于CPU,HDD和RAM。
I guess I need some sort of Web Server on the FreeBSD machine, and perhaps to create some site using some widgets, etc. Thanks. 我想我需要在FreeBSD机器上安装某种Web服务器,也许还要使用一些小部件等来创建一些站点。谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.