Sándor Czirbusz wrote:

> This is the answer
> 
> # Copyright (c) Twisted Matrix Laboratories.
> # See LICENSE for details.
> import os, sys
> 
> try:
>     import _preamble
> except ImportError:
>     try:
>         sys.exc_clear()
>     except AttributeError:
>         # exc_clear() (and the requirement for it) has been removed from
>         # Py3
>         pass
> 
> sys.path.insert(0, os.path.abspath(os.getcwd()))
> 
> from twisted.scripts.twistd import run
> run()

Did you cut off the first line? (that's the important one)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to