Ad Code

Create Your Own HTTP Server For Web Development Using Python.


 Create Your Own HTTP Server For Web Development Using Python


In this tutorial, we will make our own HTTP server for web development using a python programming language. 

This tutorial is for web developers when they want to test their website on localhost So, they can make their own localhost HTTP Server easily with the help of python, windows terminal, and some simple commands. 

And there is no need to install or use any framework. 

  • Firstly Create a file on HTML, CSS, Bootstrap, and Javascript, or if you have already created a file. 
  • Then, Go where are you save your file and press shift or right-click on your mouse together. 

  • Open PowerShell Window.
  • Write this command on the terminal-    python -m http.server 

  • Then, open the browser and open a new tab type on the head localhost:8000.

  • Congrats! you have created your own localhost server with the simple python command.

Keep Learning...

Post a Comment

0 Comments

Ad Code