Shaila B's Blog

Shaila B's Blog

Write your own web server in python.

Write your own web server in python.

In python, there are libraries that allow you to write your own web server in a few lines.

carbon (3).png

When you run this, your machine will listen on port 8000 for requests.

In a web browser, If you navigate to http://127.0.0.1:8000/

The browser will get the response as below

server.png

#python#python3#programming-blogs#coding#developer
 
Share this