How to truncate a string using str.format in Python?,"""""""{:.5}"""""".format('aaabbbccc')"