Wednesday, April 29, 2015

Little reasons to move to Python 3

Elegant way to get terminal size


import shutil
shutil.get_terminal_size((80, 20))

No comments:

Post a Comment