trim string ke python panjang maksimal

length=75
info="sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trimsting you want to trimsting you want to trimsting you want to trimsting you want to trimsting you want to trimsting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trim sting you want to trimsting you want to trim sting you want to trim sting you want to trim sting you want to trim"
info = (data[:length] + '..') if len(data) > length else data
Yog