Ok, here's my issue. I have a plugin framework I wrote that relies on a third
party library that I can't change. As a part of that framework, I wrote a
small stub library to proxy calls to the third party library, so that if their
api ever changes, plugins written against the stub won't have t
First, the snippet provided is a contrived example of a much larger program.
http://pastebin.com/xRqBE5BY
(written in python3 with access to 3.4 if necessary)
The goal: To connect to a listening socket and send commands to the cmd.Cmd()
loop running, then show the output to both stdout and the
First, the snippet provided is a contrived example of a much larger program.
http://pastebin.com/xRqBE5BY
(written in python3 with access to 3.4 if necessary)
The goal: To connect to a listening socket and send commands to the cmd.Cmd()
loop running, then show the output to both stdout and t
I'm working on an asyncio server project. I'd also like to have a cmd.Cmd
style command loop interface for spawning instances of the server. As far as
I've seen, running an asyncio server requires
...
loop.run_forever()
...
And cmd.Cmd.cmdloop() is a blocking loop, so I'm not able to call the
I'm working on an asyncio server project. I'd also like to have a cmd.Cmd
style command loop interface for spawning instances of the server. As far as
I've seen, running an asyncio server requires
...
loop.run_forever()
...
And cmd.Cmd.cmdloop() is a blocking loop, so I'm not able to call the
On Friday, November 28, 2014 6:12:20 AM UTC-6, Akira Li wrote:
> Benjamin Risher writes:
>
> > Hello all,
> >
> > I'm working on a project to learn asyncio and network programming. What
> > I'm trying to do is forward a connection from myself t
Hello all,
I'm working on a project to learn asyncio and network programming. What I'm
trying to do is forward a connection from myself to another machine. Kind of
like an asynchronous python implementation of fpipe.
In a nutshell:
1 --> start a server listening on localhost
2 --> connect
On Monday, November 24, 2014 10:26:42 AM UTC-6, Marko Rauhamaa wrote:
> Benjamin Risher :
>
> > I was wondering if you ever made progress with your asyncio project.
> > I'm currently digging around for examples and reference material and
> > came across your post.
>
On Wednesday, March 26, 2014 6:35:31 AM UTC-5, Piotr HusiatyĆski wrote:
> Hi,
> I have posted the same question to python-tutor list *, but I'm trying
> my luck here as advised.
>
> I'm trying to get more familiar with asyncio library. Using python
> 3.4, I wrote simple echo server (see attachemen