These programs can be run on one computer without being modified. First, use a terminal to start HTTPserver.py with a single command line argument - the number of the port that you would like the ...
As mentioned in the documention, don't use Python's simple HTTPServer in production. Have a look at django instead: https://www.djangoproject.com/.