Relative Content

Tag Archive for pythonhtmlflask

Top of HTML webpage being cut off (unable to scroll up far enough) as new lines are added to the bottom

I am making a clone of the NYT game Wordle in Python and HTML (using Flask as the webserver infrastructure if that’s relevant) for a high-school level cybersecurity-focused summer camp. For context, the game is intended to show the strength of more complex passwords by allowing the students to guess the passwords in a somewhat game-like format, hence my choice of Wordle as the base or example. For more context, ChatGPT has helped me with the bulk of the program, particularly the HTML formatting and Flask integration. I know the basics of Python from college, so I can look at and make changes to most of the Python backend of this program with very little confusion if any. I know very little of the details of HTML so that is where I needed AI’s help.

Flask – Redirect to another page not working as intended

i have 2 pages in a flask project. On page 1 i enter data, which I then send to another python script which I execute.
After the script is finished I want to redirect the page to page 2, where I want to use a csv file created by the python script on page 1.
I’ve started with the following code, without a redirect: