DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Write your own web server inΒ python.
Shaila B
Shaila B

Posted on

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.

For Example:

img

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

Alt Text

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.