I am very new to python, and I am trying to create a chatbot with python for a school project. I am almost done with creating my chatbot, but I don't know how to create a website to display it, I know how to create a website with Flask but how can I embed the chatbot code into the website?
You would have to create a separate website that talks to the server-hosted chatbot, with messaging between the two (probably using Javascript) to update the site.
A much easier way would be to put your code on Repl.it, and use their repl.run feature that automatically lets users interact with Python code via a website.