Raspberry Pi Lesson: Web Server

Raspberry Pi boleh dijadikan sebagai Web Server. Membuat Web Server di Raspberry Pi menggunakan Flask. Melalui Terminal Raspberry Pi, gunakan command berikut.

sudo apt-get install python-pip
sudo apt-get install python-flask
sudo pip install flask

Berikut adalah demo Raspberry Pi Web Server.

Python Source Code

html Source Code

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.