Context Insensitive completion 1
Finish writing this simple Python HTTP server.
Start file
from SimpleHTTPServer import SimpleHTTPRequestHandler from SocketServer import TCPServer ADDR = ("", 8080) httpd = # Finish this line httpd.serve_forever()
End file
from SimpleHTTPServer import SimpleHTTPRequestHandler from SocketServer import TCPServer ADDR = ("", 8080) httpd = TCPServer(ADDR, SimpleHTTPRequestHandler) httpd.serve_forever()
View Diff
5c5 < httpd = # Finish this line --- > httpd = TCPServer(ADDR, SimpleHTTPRequestHandler)
Solutions by @wolever:
Unlock 1 remaining solutions by signing in and submitting your own entry