text width for python