How to connect my python codes in html ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

How to connect my python codes in html ?

I want to connect my python codes to my html. Even if not supports in here☹️ like we do JS as <script type="text/JavaScript"><script> For web which is better js/py Please Explain.

17th Jan 2020, 12:46 PM
Absolute Zero ϟ
Absolute Zero ϟ - avatar
2 Answers
+ 3
Actually, JavaScript is best for web development. JavaScript is easy and fast. JavaScript is singleton. I always encourage you to use javascript instead of a python or other language. You can do many things with python.
17th Jan 2020, 4:23 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 3
Lookup Brython. It is a replacement for JavaScript. However, it cannot work on SL, you will have to run it on a computer (or another android app, if it exists) EDIT: Actually, I think you might be able to use brython even on sololearn, as long as your device is connected to internet. Follow the instructions in their official website to learn it. Once done, you can host the file online and include it in HTML script tag.
17th Jan 2020, 12:50 PM
Aymane Boukrouh
Aymane Boukrouh - avatar