Skip to content Skip to sidebar Skip to footer

How To Make A Chat Like Ui Using Python Urwid?

I alreay can implement chat daemons using gevent and zeromq, but I'd like to make a console UI for them. My first attempt with ncurses failed, so I tried Urwid and found out that t

Solution 1:

In computing, if you are not smart, you gotta be patient. I just applied the good old try/except keyword to my programming method:

  1. remove something from the source that doesn't relate to my feature
  2. if ok, go to 1 until the is only the essential code remains
  3. if it crashes, understand this part and why it's essential and replace it with a code that suit my needs then go back to 2

I just stripped down the nigiri source code untill it fits in one file.

It works. Now I gotta figure out how to make the urwid and zeromq main loops play nice together.

Post a Comment for "How To Make A Chat Like Ui Using Python Urwid?"