How to convert data created from Python to the HTML format
I have a data which is in the python format, now I am rendering that data to the webpage using the flask in python.
While rendering the data it is treating the new line of python as “n” in my html web page.
Also “its” is coming same as the python data “it’s”.
Why the python and HTML is not connecting?
I tried to connect HTML and python file, but i got error 405
HTML:
`
POST и GET запросы
body {
font-family: Arial, sans-serif;
margin: 20px;
}
#result {
margin-top: 20px;
padding: 10px;
border: 1px solid #ccc;
background-color: #f9f9f9;
}
connecting python to html web
I want to ask, can anyone help? The intention was to create a simple website to test internet speed, so the measurement program can already run in VScode, and the measurement results can also be directly saved in Excel. The intention is to make a website, so I’m confused about how to do it so that when you click the button you can run the program. My friend said he used a flask. I tried it but I still don’t understand hehe.this 3 program i want make it to web
HTML form data wong get passed to the flask backend
hello everyone Im trying to send data from a HTML form to a flask backend file and its really simple
the html file contains a simple form that has only one text input and a submit button.
this is the html code: