> On Mon, 14 Jan 2019 11:57:33 +0000, Alex Ternaute wrote: > > > Hi there, > > > > I want to know the number of columns of the terminal where python2 writes > > it's outputs.
A couple days late to the party, a discussion of several ways I tried: http://shallowsky.com/blog/hardware/serial-24-line-terminals.html and the script I ended up with: https://github.com/akkana/scripts/blob/master/termsize (I've only tested these on Linux). ...Akkana -- https://mail.python.org/mailman/listinfo/python-list