> How can I add python to html websites I make?

How can I add python to html websites I make?

Posted at: 2014-12-18 
Running Python in your website is a little different than running something like PHP, which you embed directly into your web pages. It can be done, but much like running PHP, you'll need to have more control over your webserver.

You'll need the server to run a secondary process to handle requests, but this is true for any server-side code you want to run. For PHP you need to run a php-fpm or php-cgi daemon to interpret php requests, and you need to configure your webserver accordingly. For Python, the same is true, and you'll want to run uWSGI.

https://uwsgi-docs.readthedocs.org/en/la...

The basic format for a web page in HTML 5 with a CSS like is as follows:









Bookmarks Astronomy







Bookmarks



Astronomy, Space & Navigation







Python is a programing language and not adaptable to HTML.

You need to use JAVA SCRIPT.

html website







a few arbitrary words









some python I want to add

num1 = input ("put number1 hear:")

num2 = input ("put number2 hear:")

print (int(num1)+int(num2))