Files
shredos.x86_64/support/testing/tests/package/sample_python_twisted.py

12 lines
279 B
Python
Raw Normal View History

from twisted.internet import protocol, reactor, endpoints
2025-01-10 19:31:27 +00:00
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()