You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, great work porting over QP to Python.
I was trying to make an interactive program similar to hsm_test.py but the TimeEvent's don't seem to work. I'm guessing that input('\tEvent --> ') call is blocking and those events are never processed.
I saw that this project has an asynchronous equivalent to input. https://github.com/vxgmichel/aioconsole
I'm pretty new to Asynchronous programming so I'm wondering if someone would post an example using this package so I can get interactivity with the TimeEvents.
Thanks!
The text was updated successfully, but these errors were encountered:
Oh, I just realized that the examples/udp_server.py is one way to do it. This example uses line input (not an event for each keypress like I was talking about above) and TimeEvents. The example requires running the server in one console and the client in another. Assuming Mac OS or Linux, netcat (nc) is the easiest way to have console line input transmitted via UDP to the server. I don't know of a good client for windows; though a basic telnet should do.
First of all, great work porting over QP to Python.
I was trying to make an interactive program similar to hsm_test.py but the TimeEvent's don't seem to work. I'm guessing that input('\tEvent --> ') call is blocking and those events are never processed.
I saw that this project has an asynchronous equivalent to input.
https://github.com/vxgmichel/aioconsole
I'm pretty new to Asynchronous programming so I'm wondering if someone would post an example using this package so I can get interactivity with the TimeEvents.
Thanks!
The text was updated successfully, but these errors were encountered: