Can I use a Python script in HTML? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 4

Can I use a Python script in HTML?

I'm building a simple robot. a webcam on wheels with Raspberry Pi as the brain. Can I use the Python script I wrote for the GPIO in an html webpage to control my robot?

14th Jun 2017, 12:25 PM
Chris Winner
Chris Winner - avatar
3 Antworten
+ 5
interesting. I've looked into it, and JavaScript can also be used to control gpio. I'm gonna attack it from both angles and see which gives the best results.
15th Jun 2017, 1:41 AM
Chris Winner
Chris Winner - avatar
+ 2
yes, but you'll need to use websocket utilities.
15th Jun 2017, 1:39 AM
Isaac Pace
Isaac Pace - avatar
+ 1
Okay. Best luck to you!
15th Jun 2017, 1:41 AM
Isaac Pace
Isaac Pace - avatar