Update page 'Day 2 homework'
@@ -13,7 +13,6 @@
|
|||||||
5. What does this do? `print("\007")` Can you figure out why?
|
5. What does this do? `print("\007")` Can you figure out why?
|
||||||
6. What does this do? `print("abcdefg\rhijklmnop")` Can you figure out why?
|
6. What does this do? `print("abcdefg\rhijklmnop")` Can you figure out why?
|
||||||
7. This is an HTTP server. Run it and connect to http://localhost:8000 . Why doesn't this do the same thing as what you see above? (don't forget to shut down the HTTP server afterward.)
|
7. This is an HTTP server. Run it and connect to http://localhost:8000 . Why doesn't this do the same thing as what you see above? (don't forget to shut down the HTTP server afterward.)
|
||||||
|
|
||||||
```
|
```
|
||||||
import http.server
|
import http.server
|
||||||
import socketserver
|
import socketserver
|
||||||
|
|||||||
Reference in New Issue
Block a user