Browse over 10,000 Electronics Projects

Python web server in Raspberry Pi

Python web server in Raspberry Pi

There are many ways of serving web pages from Raspberry Pi. One of the ways is to install Apache web server software. This is still a standard solution for most of purposes. These things require quite some performance and this is not always an optimal choice. If you need simple webserver for your home project that would easily work with GPIO you could try Python web server.



Advertisement1


Python web server relies on flask – an extension that provides web microframework. It allows building and rendering webpages with few lines of code. Sankar have written a short tutorial on how to start with simple static webpage from Raspberry Pi. From there you can move on with more advanced pages that include dynamic content and so on.

 


Top