title: how run a python script with a html button?
body: <p>i just would like to run a python script by clicking on a html button.
  python script is reallly simple. when you run it, it just add a "name" and "age" data in my database.</p>
  
  <pre class="lang-py prettyprint-override"><code>import sqlite3
  
  conn = sqlite3.connect('bdaremplir.sqlite')
  cur = conn.cursor()
  
  """cur.execute('DROP TABLE IF EXISTS latable')
  cur.execute('CREATE TABLE latable (noms TEXT, age INTEGER)')"""
  
  
  
  nom = 'TheName'
  age = 100
  
  cur.execute('''INSERT OR IGNORE INTO latable (noms, age) VALUES ( ?, ? )''', (nom, age))
  conn.commit()
  </code></pre>
  
  <p>and the basics of html</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;visualisateur&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;button&gt;&lt;/button&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>now from here i don't at all what i can do.
  if anyone can help... thank you.</p>