Python Trim String To Length