How to run python script in HTML?

It probably would depend on what you want to do. I personally use CGI and it might be simpler if your inputs from the web page are simple, and it takes less time to learn. Here are some resources for it:

However you may still have to do some configuring to allow it to run the program instead of displaying it.

Here’s a tutorial on that: http://httpd.apache.org/docs/current/howto/cgi.html

Leave a Comment

error code: 523