watch this
The wheels are turning, slowly turning.
home
Twisted "chat server" in one expression 2004-03-05
Tonight’s messed up code:
(lambda r,p,b: (r.listenTCP(6665,(type(’F’,(p.Factory,object),{’protocol’:(type(’P’,(b.LineReceiver,object),{’connectionMade’:lambda s:s.factory.c.append(s),’lineReceived’:lambda s,m:(s.factory.m(m),None)[1]})),’c’:[],’m’:lambda s,m:[c.sendLine(m)for c in s.c]}))()),r.run()))(*(lambda p,i:(i(p,’reactor’),i(p,’protocol’),i(’twisted.protocols.‘,’basic’)))(’twisted.internet.’,lambda a,b:__import__(a+b,None,None,b)))
Copyright 2023 Jean-Paul Calderone