asyncore loop and cmdloop problem
kaklis at gmail.com
kaklis at gmail.com
Tue May 25 08:56:02 EDT 2010
On May 25, 6:48 am, Giampaolo RodolĂ <g.rod... at gmail.com> wrote:
> 2010/5/25 Michele Simionato <michele.simion... at gmail.com>:
>
> > On May 25, 12:03 pm, Giampaolo RodolĂ <g.rod... at gmail.com> wrote:
> >> Too bad cmdloop() doesn't provide an argument to return immediately.
> >> Why don't you submit this patch on the bug tracker?
>
> >> --- Giampaolohttp://code.google.com/p/pyftpdlibhttp://code.google.com/p/psutil
>
> > Because it is not a bug, cmd was designed to be blocking. It would be
> > a feature request.
>
> Sure, a feature request, but it would be nice to have anyway. =)
> The OP question shown how this can be desirable in certain circumstances..
>
> --- Giampaolohttp://code.google.com/p/pyftpdlibhttp://code.google.com/p/psutil
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
More information about the Python-list
mailing list