use python in html code example

Example 1: embed python in html

Tutorial: 
https://blog.finxter.com/how-to-embed-a-python-interpreter-in-your-website/

Example 2: html in python

from flask import Flask
app=Flask('app')
@app.route('/')
def run_code():
    return '<!-- Reference external html file here... -->'
app.run(host='0.0.0.0', port=8080)

Example 3: python in html

<!-- 
Unfortunetly, it's the other way around
You should use the flask module on python to build sites
Check the source for a great tutorial on flask



Or you can use Brython, a javascript replacement which is like python
-->