title: Run python method in HTML web page
body: <p>I have a HTML page with a button. This web page is running on Flask. What I want to do is when the user press a button, I want to invoke Python method. </p>
  
  <p>main.py</p>
  
  <pre><code>from flask import url_for, Flask, render_template
  
  app = Flask(__name__)
  
  @app.route('/')
  def hello_world():
      return render_template('tour.html')
  
  if __name__ == '__main__':
      app.run(debug=True)
  
  def first():
      global todayDate
      parseWemake(*Wemake.wemakeData())
      parseCoupang(*Coupang.coupangData())
      parseTmon(*Tmon.tmonData())
  </code></pre>
  
  <p>tour.html</p>
  
  <pre><code>&lt;button&gt;Click&lt;/button&gt;
  </code></pre>
  
  <p>I am now lost here. All I want to do is invoke first() method on click that button on html.</p>
  
  <p>Thanks in advance.</p>