asyncore loop and cmdloop problem

kaklis at gmail.com kaklis at gmail.com
Wed May 26 04:29:31 EDT 2010


On May 26, 2:03 am, exar... at twistedmatrix.com wrote:
> On 04:31 pm, kak... at gmail.com wrote:
>
>
>
> >On May 25, 5:47 pm, "kak... at gmail.com" <kak... at gmail.com> wrote:
> >>On May 25, 5:23 pm, Michele Simionato <michele.simion... at gmail.com>
> >>wrote:
>
> >> > On May 25, 2:56 pm, "kak... at gmail.com" <kak... at gmail.com> wrote:
>
> >> > > Could you please provide me with a simple example how to do this
> >>with
> >> > > threads.
> >> > > I don't know where to put the cmdloop().
> >> > > Please help, i' m so confused!
> >> > > Thank you
>
> >> > What are you trying to do? Do you really need to use the standard
> >> > library? Likely what you want to accomplish is already implemented
> >>in
> >> > Twisted; I remember there was something like that in their examples
> >> > directory.
>
> >>Thank you,
> >>and sorry for the mistake i did before with my post.
>
> >>Antonis
>
> >hi again. i installed twisted, but since i m not familiar with it, do
> >you remember which example you have in mind?
> >What i want to accomplish is something like "asterisk". while you send
> >commands from the asterisk cli, at the same time
> >the underlying protocol sends you notifications to the console.
> >without exiting the application.
> >thanks
>
> You can find a couple simple examples here:
>
>  http://twistedmatrix.com/documents/current/core/examples/
>
> Search for "stdin" and "stdio".
>
> Jean-Paul

Thank you so much, i'll check them!!!
Antonis



More information about the Python-list mailing list