Comment

drnk

Hi,

> I.e. does anybody know how to do this, but with f-strings:

The answer is simple:

>>> mystr = 'peter'
>>> f'{mystr:*<10}'
'peter*****'