Dec-27-2016, 06:14 AM
maketrans() is more convenient for me because you pass as parameters only two sets of characters and the third one for those to delete. In Python 3 way you have to create the dict by your own. I don't use translate often otherwise I'd write something like maketrans().
Which reminds me to write a script to remove the digits from the file names of my mp3 collection.
Which reminds me to write a script to remove the digits from the file names of my mp3 collection.