HTML to Python (WebSite create)


#1

Hi Team!

I want to do one HTML/CSS Page (Application with buttons) for interact with any python scripts for Grovepi on the RaspberryPI 2.

Someone know if there is one python module (pip install…) or other method to do this ? Communicating between HTML and Python.

Thanks.


#2

Hey,
I don’t think that there might be a direct way to access the Grove sensors from an HTML/CSS page. You might be able to write a Javascript to call the GrovePi functions in a python file or maybe use the Node.JS examples with your HTML/CSS page: https://github.com/DexterInd/GrovePi/tree/master/Software/NodeJS.

-Karan