Is there any way that I can insert a python file into a html page?
Displaying "a python file" and displaying "the output" (implied "of a python script's execution) are totally different things. For the second one, you need to configure your server to run Python code. There are many ways to do so, but the two main options are 
1/ plain old cgi (slow, outdated and ugly as f..k but rather easy to setup - if your hosting provides support for it at least - and possibly ok for one single script in an otherwise static site)
and
2/ a modern web framework (flask comes to mind) - much cleaner, but possibly a bit overkill for one simple script.
In both cases you'll have to learn about the HTTP protocol.
I am currently trying to create a website that displays a python file (that is in the same folder as the html file) on the website, but I'm not sure how to do so.
So I just wanted to ask if anyone could describe the process of doing so (or if its even possible at all).