Sunday, October 28, 2018

Create simple webserver in python


To create simple web server in python run below command in shell
python -m SimpleHTTPServer 5000
this will start serving pages at the address http://localhost:5000 and will show files from the location from where command is ran.

No comments:

Post a Comment