Check out example codes for "python in html". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from