0

how i work in html from python

5th Oct 2022, 3:32 PM
Amazon
Amazon - avatar
4 Answers
+ 7
You can easily use HTML in python (⚠️ But this code will work only on sololearn) Python Code : import os os.system("touch python.png") print ("""<h1 style="color:red;">Hello World</h1>""") # in this way you can use html, css using style tag or javascript using script tag You can also use Python 🐍 in HTML 1) Using Brython : visit => [https://brython.info/]↗️ 2) Using PyScript : visit => [https://pyscript.net/]↗️
6th Oct 2022, 3:49 AM
Sujal
Sujal - avatar
7th Oct 2022, 5:25 AM
Sujal
Sujal - avatar
0
Sujal Can it be done not in python ?
7th Oct 2022, 5:08 AM
Lz1234