0

Python Code in a website

So I would like to know, can you store python code files on HTML, and if you can, if there is a variable in HTML, is it present in python ? And is there any way to transfer data between HTML and a python file, like variables ? Thanks

6th Sep 2018, 7:56 PM
Carson
Carson - avatar
3 Answers
0
I think you should use cgi and cgitb (you can google them) this may interest you https://stackoverflow.com/questions/47620498/how-to-pass-data-between-JUMP_LINK__&&__python__&&__JUMP_LINK-and-html
6th Sep 2018, 8:38 PM
Daniele Bonomi
Daniele Bonomi - avatar
0
use a framework like Django or flask
6th Sep 2018, 10:09 PM
JME
0
im afraid that wont work
7th Sep 2018, 6:17 PM
Carson
Carson - avatar