Files
winf-photobooth/support/testing/tests/package/sample_python_twisted.py
Michael b8783708ae Initial Commit
- initial default booting image
2026-11-06 20:45:42 +01:00

12 lines
279 B
Python

from twisted.internet import protocol, reactor, endpoints
from twisted.web.client import readBody # noqa: F401
from twisted.web import xmlrpc, server # noqa: F401
class F(protocol.Factory):
pass
endpoints.serverFromString(reactor, "tcp:1234").listen(F())
reactor.run()