Which is the simplest way to put a service under and application to listen on a port and behave similarly to the way it behaves when run with twistd -noy script.tac but directly from a standard python module? Lets assume I don't have access to the tac command and want to emulate the behaveour.