Rename file in python3

Asked

Viewed 140 times

2

Please, can someone help me? I am wanting to rename files that have characters in the name Ex. "123Pedro.jpg" to "Pedro.jpg". I was trying to use str.Translate(), but it’s not working. Thanks!!!

  • You’re gonna go through a folder and see one by one?

  • Do you have a piece of code you’ve tried? What error does the str.translate()?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.