Reputation: 147
Is it possible to write to a specific character cell in a terminal in Python 3 without the help of a library? If not, what library would be best for this purpose?
Upvotes: 0
Views: 106
Reputation: 794
Use the curses module. If you really don't want to, you can write codes to your terminal. All codes are here.
http://wiki.bash-hackers.org/scripting/terminalcodes
You can send them using sys.stdout.write()
:
sys.stdout.write("\033[10;16H#")
Upvotes: 3