是否可以通过网络浏览器执行Python脚本?

问题描述 投票:0回答:1

我有一个python脚本,当有人单击浏览器中HTML / PHP网页中的按钮时,我想执行该脚本。如何做到这一点,最好的方法是什么?

php python html browser execution
1个回答
0
投票

如果要为此使用纯PHP,请看exec https://www.php.net/manual/en/function.exec.php函数。

© www.soinside.com 2019 - 2024. All rights reserved.