How to get terminal width?

Craig P McDaniel cpmcda01 at
Tue May 2 19:44:42 EDT 2000

I need to write a command line script in Python that needs to know the width
of the terminal in characters. I've looked through several modules and
haven't yet found what I'm looking for. Does anyone know where I need to

_) Craig McDaniel
_)_) craig at
_)_)_) cpmcda01 at

More information about the Python-list mailing list