![]() |
Dynamic Printing With Python Terminal - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Dynamic Printing With Python Terminal (/thread-34197.html) |
Dynamic Printing With Python Terminal - MrTim - Jul-06-2021 Hello there, I have a question regarding python terminal printing. I am currently working on a project in windows. I would like to display text on the top of the terminal in the style that linux nano does. See image attached. I would also like to print other text bellow that with print(). How could I make the "banner" to be on the top of the page, while printing other text bellow. Thanks in advance P.S: I am going to only use this project on windows if I even finish it. RE: Dynamic Printing With Python Terminal - deanhystad - Jul-06-2021 The curses in the standard libraries. Quote:curses — Terminal handling for character-cell displays And several other available libraries. Several are mentioned in this post on stackoverflow https://stackoverflow.com/questions/8631082/are-there-any-toolkit-libraries-for-curses-with-python-bindings I think Rich looks interesting. pypi.org/project/rich/ RE: Dynamic Printing With Python Terminal - MrTim - Jul-06-2021 Thank you. I will look into them. |