Need help removing trailing spaces from filenames /u/RaneKun Python Education

How do I create a script that’ll allow me to remove trailing spaces form file names (of any file type) in bulk and do it in the same directory as that of the script
Example – “Filename[one empty space].mp4” or “Filename[more than one empty space].mp4” –> “Filename.mp4”

Img example – https://imgur.com/vybLOeC

submitted by /u/RaneKun
[link] [comments]

​r/learnpython How do I create a script that’ll allow me to remove trailing spaces form file names (of any file type) in bulk and do it in the same directory as that of the script Example – “Filename[one empty space].mp4” or “Filename[more than one empty space].mp4” –> “Filename.mp4” Img example – https://imgur.com/vybLOeC submitted by /u/RaneKun [link] [comments] 

How do I create a script that’ll allow me to remove trailing spaces form file names (of any file type) in bulk and do it in the same directory as that of the script
Example – “Filename[one empty space].mp4” or “Filename[more than one empty space].mp4” –> “Filename.mp4”

Img example – https://imgur.com/vybLOeC

submitted by /u/RaneKun
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *