Re: read list of dirnames and search for filenames

2007-05-01 Thread fscked
On May 1, 2:36 pm, Rob Wolfe <[EMAIL PROTECTED]> wrote: > Rob Wolfe <[EMAIL PROTECTED]> writes: > > fscked <[EMAIL PROTECTED]> writes: > > >> I cannot seem to get this to work. I am hyst trying to read in a list > >> of paths and see if the directory or any sub has a filename pattern. > >> Here is

Re: read list of dirnames and search for filenames

2007-05-01 Thread Rob Wolfe
Rob Wolfe <[EMAIL PROTECTED]> writes: > fscked <[EMAIL PROTECTED]> writes: > >> I cannot seem to get this to work. I am hyst trying to read in a list >> of paths and see if the directory or any sub has a filename pattern. >> Here is the code: >> >> import os, sys >> from path import path >> >> myf

Re: read list of dirnames and search for filenames

2007-05-01 Thread Rob Wolfe
fscked <[EMAIL PROTECTED]> writes: > I cannot seem to get this to work. I am hyst trying to read in a list > of paths and see if the directory or any sub has a filename pattern. > Here is the code: > > import os, sys > from path import path > > myfile = open("boxids.txt", "r") > for line in myfile