Feb-02-2020, 09:48 PM
Hi all, Python is very new to me, and I'm still finding my feet, so I apologise in advance if this is a daft question. I think this is my first post!
I use an app that downloads podcasts for me. I'm in the middle of writing a Python script to 'work on' the filenames, so that they are formatted the way I want them to be.
What I haven't been able to work out is how I can get a list of all the files in a particular directory, so that I can manipulate the name to the format I want, and then rename the file accordingly.
Any help you can give me would be very much appreciated!
Many thanks.
I use an app that downloads podcasts for me. I'm in the middle of writing a Python script to 'work on' the filenames, so that they are formatted the way I want them to be.
What I haven't been able to work out is how I can get a list of all the files in a particular directory, so that I can manipulate the name to the format I want, and then rename the file accordingly.
Any help you can give me would be very much appreciated!
Many thanks.