This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
This is intended to be a simple example of listening on two sockets simultaneously | |
using Python's http.server and socketserver modules. | |
''' | |
import http.server | |
import select | |
import socketserver | |