oursh 0.4.4

Modern, fast POSIX compatible shell
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
{#!/usr/bin/env python;
import http.server
import socketserver

PORT = 8000

Handler = http.server.SimpleHTTPRequestHandler

with socketserver.TCPServer(("", PORT), Handler) as httpd:
    print("serving at port", PORT)
    httpd.serve_forever()
}