This file contains 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 python | |
import npyscreen, curses | |
# Incorporates code | |
# from http://www.binarytides.com/python-socket-server-code-example/ | |
# Socket server in python using select function | |
import socket, select | |
class MyTestApp(npyscreen.NPSAppManaged): | |
# socket code |