[Twisted-Python] Manhole and StandardIO

glyph at divmod.com glyph at divmod.com
Mon Jan 12 15:53:29 MST 2009


On 10:21 pm, exarkun at divmod.com wrote:
>On Mon, 12 Jan 2009 23:09:40 +0100, Zoran Bosnjak 
><zoran.bosnjak at sloveniacontrol.si> wrote:
>>Hello all,
>>I would like to have a simple console python interactive shell,
>>powered by twisted.

>See twisted/conch/stdio.py for examples of how to use manhole on stdio.

It doesn't sound like you need to write any code.  Just run the module 
exarkun mentions:

    python -m twisted/conch/stdio

and you should get an interactive shell.

(If you are using GNOME, you may have to use the workaround mentioned on 
ticket 2637: <http://twistedmatrix.com/trac/ticket/2637>.)




More information about the Twisted-Python mailing list