There is a form on the page - http://biborus.pythonanywhere.com/ You need to use Flask to get a request from the form, and give the user the same page + information on the processed request. For example, the number of characters in the request. How is this implemented?

Closed due to the fact that off-topic participants andreymal , 0xdb , mkkik , LFC , kizoso March 20 at 6:05 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - 0xdb, LFC
If the question can be reformulated according to the rules set out in the certificate , edit it .

1 answer 1

Can be implemented using re and requests modules

 import re import requests test = requests.get('http://site.com') form_pars = re.findall(r'<input.*', test.text) # Это регулярное выражение только для '<input' формы print(form_pars) 

Next, get the keys and send the corresponding requests gett or post with the necessary parameters, look in the direction of library libraries for parsing sites. There are a lot of examples of how to make a web interface on Flask