0
How to call py function in html
I want to call a python function OR py script in html to use it.
5 Antworten
+ 1
If you program your python script to work as a cgi, you might get it to work if your website host allows cgi.
+ 1
On a webserver, you can our executables in the cgi-bin folder. Some hosts don’t allow that. A cgi script needs to output value html to display correctly.
If your python script is setup correctly, you can make this work. There’s just a few steps involved.
0
I am new in this and learning. I am using xamp server, vscode, and python.
I have created one function to extract pdf text by using PyPDF2 in python but i am getting output in terminal only.
I want to display this text on html page.
Thanks
0
Ok i will check and get back to you with new updates.
Thanks a lot for this guidance.я
0
I am able to print hello world in H1 tag which i have written in .py file and opening in chrome but still my function is not calling.
What should I do.