Hello, > I should let you know that this is a function attached to a button that > searches my harddrive for files it has an entry field to do the searching > but it prints out every image file I want to limit it the name typed in eg > if I type ocean every file with the name ocean appears Have a look at the `glob' module. HTH. Miki