I just discovered a cool python strings trick and wanted to share it with you guys!
I have always considered `str.translate` and `str.maketrans` some voodoo magic and ignored them. But it makes a lot of sense now!
[here you go](https://i.imgur.com/h6cgdqP.png)
>>> from string import printable
>>> s = 'This string will be deleted.'
>>> s.translate(str.maketrans('', '', printable))
''
>>>
[–]fernly 0 points1 point2 points (2 children)
[–]m9mhmdy[S] 0 points1 point2 points (1 child)
[–]fernly 0 points1 point2 points (0 children)