Jump to content

"htop" style gui with python, how?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Symbolix

Symbolix

    Newbie

  • Members
  • Pip
  • 8 posts
Hi,
I am intersted in building some text based GUIs, things that look like the terminal, but has functions like selecting rows and performing actions.

You know, things like htop and atop, ex:
Posted Image

Posted Image

Any resource on that?
Thanks.

(I am new to python, and new to programming)

Edited by Symbolix, 19 November 2010 - 03:41 AM.


#2
Symbolix

Symbolix

    Newbie

  • Members
  • Pip
  • 8 posts
Wow!? Is it that impossible? :)

#3
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts

Symbolix said:

Wow!? Is it that impossible? :)

One simple solution you would be looking for is to work with NCURSES library, to handle console cells:
15.9. curses ? Terminal handling for character-cell displays — Python v2.7 documentation

This can work with Python to handle any advanced console calls.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#4
Symbolix

Symbolix

    Newbie

  • Members
  • Pip
  • 8 posts
Thanks!