+ 2

How can i attach python with html?

1st Sep 2019, 1:42 PM
Avinash
Avinash - avatar
5 Answers
+ 18
Cbr✔[ ZeroCharisma ] that's not correct. Have a look at the following code: https://code.sololearn.com/WNSgTBRq6Wuj/?ref=app Thanks Burey for the nice explanation!
1st Sep 2019, 2:30 PM
Worm
Worm - avatar
+ 18
Cbr✔[ ZeroCharisma ] if he/she/it wants to call a Python method/function from HTML, so that's not possible. But you can execute Python code on a machine that has an Python interpreter like SoloLearn is. I have never tried it out, but if you used turtle in Python at SoloLearn, you can do it on this way.
1st Sep 2019, 4:16 PM
Worm
Worm - avatar
+ 6
You can try using the link tag inside in the HTML document to link python
1st Sep 2019, 4:26 PM
Divine Darkey
Divine Darkey - avatar