Answer the question
In order to leave comments, you need to log in
How to run your website in python (not django)?
Hello!
I made a small website using python. The site parses data from another site using the chrome browser. Approximately it works like this: the user enters data and selects it from the select, which is filled with requests to another site. After that, he presses the button and goes to the second page, at this moment the chrome browser opens on the server, the data is inserted, the buttons are pressed, after a while we get the result. The result is processed and inserted into the second page of the site.
The question is: how can I transfer it to the hosting and run it?
To start the server, I typed the following in the site folder: python -m http.server –cgi. Vds hosting has centos installed on it. Just started learning Linux. Before that, it worked only with ready-made cms to do something
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question