0
how i work in html from python
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/]āļø
+ 5
Lz1234 check this Q&A
https://www.sololearn.com/Discuss/3090456/?ref=app
0
In Sololearn you can do in this way:
https://code.sololearn.com/c4IUlBh7e7Sr/?ref=app
https://code.sololearn.com/cLz0ARO4bhgj/?ref=app
https://code.sololearn.com/cniGztx272Z8/?ref=app