I’ve seen a question on justifying a ‘print’ right, but could I have text left and right on the same line, for a –help? It’d look like this in the terminal:
| |
|Left Right|
| |
I think you can use
sys.stdoutfor this:You can replace
50with the exact console width, which you can get from https://stackoverflow.com/a/943921/711085