On Tue, 13 Jan 2009 10:08:06 +0100, Zoran Bosnjak
wrote:
StandardIO accepts an IProtocol provider as an argument.
Manhole does not implement IProtocol, it implements
ITerminalProtocol. So you cannot use these two classes
together like this.
See twisted/conch/stdio.py for examples of how to us
> StandardIO accepts an IProtocol provider as an argument.
> Manhole does not implement IProtocol, it implements
> ITerminalProtocol. So you cannot use these two classes
> together like this.
>
> See twisted/conch/stdio.py for examples of how to use manhole
> on stdio.
Thanks for your sugge
On Mon, 12 Jan 2009 22:53:29 -, gl...@divmod.com wrote:
On 10:21 pm, exar...@divmod.com wrote:
On Mon, 12 Jan 2009 23:09:40 +0100, Zoran Bosnjak
wrote:
Hello all,
I would like to have a simple console python interactive shell,
powered by twisted.
See twisted/conch/stdio.py for examples
On 10:21 pm, exar...@divmod.com wrote:
On Mon, 12 Jan 2009 23:09:40 +0100, Zoran Bosnjak
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
On Mon, 12 Jan 2009 23:09:40 +0100, Zoran Bosnjak
wrote:
Hello all,
I would like to have a simple console python interactive shell,
powered by twisted.
I am looking for something like this...
---
from twisted.internet import reactor, stdio
from twisted.conch.manhole import Manhole
stdio.Stand
Hello all,
I would like to have a simple console python interactive shell,
powered by twisted.
I am looking for something like this...
---
from twisted.internet import reactor, stdio
from twisted.conch.manhole import Manhole
stdio.StandardIO(Manhole())
reactor.run()
---
... but it does not work.