Skip to content

Interactive Example with Asynchronous console input #5

Description

@MiMiMeowMeow

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions