How can you put Python in HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can you put Python in HTML?

Can you use Python in HTML, maybe by using the <script> tag and changing the language? Is there any way in putting python in HTML or in any website?

1st Jul 2018, 9:18 PM
Señor Ostrich
5 Answers
+ 7
I thought this (trinket.io) was kinda nifty, but it needs an iframe: https://code.sololearn.com/W1ytcdJlyPI7/?ref=app Turtle also works, as does ANSI color. KrOW Thanks for mentioning skulpt; I forgot about that. [extra] The only one I found allowing script in a tag was Glowscipt / VPython, which I only mention because someone may want to use this Python-like graphics language for in-browser easy-ish 3D.
2nd Jul 2018, 4:04 AM
Kirk Schafer
Kirk Schafer - avatar
+ 2
Thanks guys. You really helped me.
3rd Jul 2018, 2:25 PM
Señor Ostrich
+ 1
Not in standard way but its possible http://www.skulpt.org/
1st Jul 2018, 10:31 PM
KrOW
KrOW - avatar
0
idk
1st Jul 2018, 9:19 PM
Luke Bridges
Luke Bridges - avatar
0
good question
1st Jul 2018, 9:19 PM
Luke Bridges
Luke Bridges - avatar