title: How can I run a Python script in HTML?
body: <p>Currently I have some Python files which connect to an <a href="https://en.wikipedia.org/wiki/SQLite" rel="nofollow noreferrer">SQLite</a> database for user inputs and then perform some calculations which set the output of the program. I'm new to Python web programming and I want to know: What is the best method to use Python on the web?</p>
  <p>Example: I want to run my Python files when the user clicks a button on the web page. Is it possible?</p>
  <p>I started with <a href="https://en.wikipedia.org/wiki/Django_%28web_framework%29" rel="nofollow noreferrer">Django</a>. But it needs some time for the learning. And I also saw something called <a href="https://en.wikipedia.org/wiki/Common_Gateway_Interface" rel="nofollow noreferrer">CGI</a> scripts. Which option should I use?</p>