Skip to content

Instantly share code, notes, and snippets.

`# This is simple bridge between PTY and TCP endpoint
# You can run it by executing following step in 3 terminals:
# 1. nc -l 8080
# 2. python simpleclient.py
# 3. minicom -p /dev/pts/3
from __future__ import print_function
from twisted.internet import reactor, protocol, inotify, fdesc
from twisted.python.util import println