Skip to content

Instantly share code, notes, and snippets.

View mitjafelicijan's full-sized avatar
🥌
Hi Bob!

Mitja Felicijan mitjafelicijan

🥌
Hi Bob!
View GitHub Profile
@mtearle
mtearle / EXAMPLE-socket.py
Created October 14, 2014 15:31
npyscreen EXAMPLE of a socket connection updating widgets
#!/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