#!/usr/bin/env python
# encoding: utf-8

import sys

if sys.version_info.major > 2:
    import http.server as http_server
    import socketserver
else:
    import SimpleHTTPServer as http_server
    import SocketServer as socketserver

PORT = 8080

Handler = http_server.SimpleHTTPRequestHandler

Handler.extensions_map={
    '.manifest': 'text/cache-manifest',
    '.html': 'text/html',
    '.png': 'image/png',
    '.jpg': 'image/jpg',
    '.svg':'image/svg+xml',
    '.css':'text/css',
    '.js':'application/x-javascript',
    '.md':'text/x-markdown',
    '': 'application/octet-stream', # Default
    }

httpd = socketserver.TCPServer(("", PORT), Handler)

print("serving at port", PORT)
try:
    httpd.serve_forever()
except KeyboardInterrupt:
    print('\nserver shutdown!')

httpd.server_close()

@@ -233,21 +233,8 @@
 er%0A%0A
-PORT = 8080%0A%0A
 Hand
@@ -586,14 +586,22 @@
 ult%0A
-    %7D%0A
+%7D%0A%0APORT = 8080
 %0Ahtt
@@ -630,16 +630,40 @@
 erver((%22
+zhoub-api.easygaokao.com
 %22, PORT)
@@ -677,16 +677,15 @@
 er)%0A
-%0A
 print(
-%22
+'
 serv
@@ -695,24 +695,35 @@
  at port
-%22, 
+: %7B%7D'.format(
 PORT)
+)
 %0Atry:%0A  

fix print format