text: import sys
  
  import http.server
  import socketserver
  
  PORT = int(sys.argv[1])
  
  Handler = http.server.SimpleHTTPRequestHandler
  
  with socketserver.TCPServer(("", PORT), Handler) as httpd:
      print("serving at port", PORT)
      httpd.serve_forever()
  