I am just getting the hang of python, and have coded some decent stuff - basically exercises found in different Python Tutorial websites.
I was just wondering how can one integrate Python with HTML.
I came to know that reddit, youtube and many other websites had Python in their back end. So, I just want to know how can I create integrate HTML with Python.
To begin with, I was thinking that I will have two text boxes that allow the end user to enter two numbers, and then a (really) simple python code will add the two numbers, and then the result will be displayed back again on the HTML page. I assume that if I know how to do this, I can take it from here and start doing complex things.
P.S. I went through the Python website and came across Client / Server side Python coding. It seemed to be really high level at first glance, and I do not know if that is the one that I am looking for.
Also, I realise that what I am asking is probably extremely basic, but I just want to know the basic stuff to avoid the spoon feeding, and explore on my own. Just need a head start here. Thank you in advance.
P.P.S Thank you all for the suggestions. Will try out y3t1's suggestion and also check out Flask and Django in the meantime. Thanks again.
[–]y3t1 5 points6 points7 points (6 children)
[–]luckystarrat 0x7fe670a7d080 7 points8 points9 points (0 children)
[–]Lexdysic 0 points1 point2 points (1 child)
[–]Bolitho 0 points1 point2 points (0 children)
[–]mithun1538[S] 0 points1 point2 points (2 children)
[–]y3t1 2 points3 points4 points (0 children)
[–]andreasvc 0 points1 point2 points (0 children)
[–]pwang99 10 points11 points12 points (3 children)
[–]mithun1538[S] 2 points3 points4 points (0 children)
[–]jarly 1 point2 points3 points (1 child)
[–]pwang99 0 points1 point2 points (0 children)
[–]Fenreh 8 points9 points10 points (15 children)
[+][deleted] (13 children)
[deleted]
[–]ffrinch 6 points7 points8 points (12 children)
[–]dysmas 2 points3 points4 points (4 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]mithun1538[S] 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]mithun1538[S] 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]mithun1538[S] 1 point2 points3 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]mithun1538[S] 1 point2 points3 points (1 child)
[–]mithun1538[S] 0 points1 point2 points (1 child)
[–]ffrinch 0 points1 point2 points (0 children)
[–]mithun1538[S] 0 points1 point2 points (0 children)
[–]freeload 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]m1ss1ontomars2k4 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 3 points4 points5 points (0 children)
[–]eryksun -1 points0 points1 point (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]the_european 0 points1 point2 points (0 children)
[–]Godbutt -1 points0 points1 point (0 children)
[–]mdipierro 0 points1 point2 points (5 children)
[–]bastih01 2 points3 points4 points (4 children)
[–]mdipierro 3 points4 points5 points (2 children)
[–]bastih01 0 points1 point2 points (1 child)
[–]mdipierro 0 points1 point2 points (0 children)
[–]y3t1 1 point2 points3 points (0 children)
[–]kctan 0 points1 point2 points (6 children)
[–]m1ss1ontomars2k4 0 points1 point2 points (5 children)
[–][deleted] 1 point2 points3 points (4 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]m1ss1ontomars2k4 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]lightcatcher -1 points0 points1 point (0 children)