I’ve been tinkering with using UNIX sockets for IPC from Python and I thought I would share my most basic experiment. This is a super simple example of client/server usage of a socket. Essentially the server is a blocking command socket that echo’s whatever is passed through it. Listing: server.py 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 # -*- coding: utf-8 -*- import socket import os, [...] Related posts: