pythonterminal

is there a python module can output to teminal like linux "top" or "more"?


May I know is there a such module in python?

Basically I need print database table records to terminal in python supporting page-up and page-down key press.

Also I need a highlighted title bar on top of the screen looks like "top" output, and the output will auto scale to fit the terminal window resize.

Thanks!


Solution

  • Take a look at this, might be helpful:

    Also, take a look at these question:

    and a link from it: