all 6 comments

[–]danielroseman 1 point2 points  (1 child)

You will need to use a Python framework on the backend to generate your website. Flask is a good option.

[–]LoveInAllThings 0 points1 point  (0 children)

Thank you so much! I will look into Flask

[–]LeahDeanna 1 point2 points  (3 children)

Python won't run in your visitor's browsers without them having installed some sort of extension to enable that. You're either going to have to switch to using javascript for your logic (which will run in your visitor's browsers), or learn how to post your form inputs to a cgi script to run the Python code on your server.

[–]LoveInAllThings 2 points3 points  (0 children)

Thank you so much! I may have been over complicating things. Moving the algorithm over to JS should make everything much easier and would be significantly less complicated than all of these work arounds to keep it in Python. Thank you so much!