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
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 244 remaining solutions by signing in and submitting your own entry
#245 Ryan / @Rdgy567889 - Score: 78 - 05/17/23 @ 19:53
4jf#d$aTCPSE<BS>erver(a<BS>ADDR, SimpleHTTPReau<BS><BS>questHqndl<BS><BS><BS><BS>andler)<Esc>ax<BS><Esc>d$a)<Esc>:wq<CR>
0 comments