/python-web-server

Simple python-based web-server

Primary LanguagePython

python-web-server

Simple python-based web-server to share current directory content throught a simple web-interface.

Basic behaviour:

If there is an "index.html" in the folder, display it's content.

Else - display a list with all files and folders in current directory.

Basic usage:

python3 main.py port

Where port == valid integer to specify a port. If no port specified, server will run on port 8000.

Tested on Python 3.4, Google Chrome and Mozilla Firefox