Re: deployment with twistd of simple web application
Jonathan Ballet <[email protected]> Fri, 08 Nov 2013 18:23:14 +0100
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
On 11/08/2013 06:19 PM, Axel Rau wrote: > > Am 08.11.2013 um 15:53 schrieb [email protected]: > >> On 12:33 pm, [email protected] wrote: >>> >>> Am 05.11.2013 um 13:25 schrieb Laufens Van Houtven <[email protected]>: >>>> You probably want to read this: >>>> >>>> https://twistedmatrix.com/documents/current/core/howto/application.html >>>> >>>> There's a number of ways you can use twistd web, for example with a tac file, but personally I always opt for using a Twisted plugin, so you instead do twistd mything :) >>> >>> [snip] >>> exceptions.SyntaxError: invalid syntax (meteo_plugin.py, line 29) >> >> Unfortunately your code was mangled beyond recognition by your email client. >> >> Try attaching the code instead so that we can see what you actually have. >> > Sorry. > Here it comes: return internet.TCPServer( int(options['port'], ^^^ You are missing a closing parentheses here.