I apologise in advance if this is too simple, but I've been searching around for a good hour or two now, and I can't quite get my head around this.
Basically, I'm looking to teach myself Python (3), and one of the things I'm trying to do is put together a simple script that could recursively search an entire drive for a file of a given extension.
I've been looking around, and figured that I'll probably need to use os.walk to recursively search the drive, along with finding other snippets here and there about what I should do. But I can't seem to track down a solid answer, and especially something that'd work in Python 3.
I was wondering if somebody had a few minutes spare, could they put together a simple script that I could look at and use as an example?
Thanks for your time,