This script hosts a server in a directory and delivers html pages as well as files as static pages.
author: dhananjay
Tested on: debian based linux distro
Description: This script takes the port number as a parameter and hosts the directory as a server delivering files' text as html scripts and showing contents of directories.
Usage: python3 server_script.py port-number
Shutting down server from browser: localhost:/close_connection