Yesterday, I was able to take in html values with python scripts using POST method. The key was passing in the value of the input with html forms. I'm not sure if we can pass in (input) tag values, but doing it with forms and POST method seemed to work, so that will be something that I will stick with.
The form input that the user would put in:
what it outputs:
frontend design that I'm working towards connecting: