Re: trying to find a substring in a string

2008-06-21 Thread Terry Reedy
[EMAIL PROTECTED] wrote: I'm trying to write what should be a simple script in Python, which I've never ever used before. Essentially, I have a text file that has a list of full path file names to other files, separated by carriage returns. Contents of first file: c:\blah.txt c:\blah1.txt c:\b

trying to find a substring in a string

2008-06-21 Thread barnacle . steve
I'm trying to write what should be a simple script in Python, which I've never ever used before. Essentially, I have a text file that has a list of full path file names to other files, separated by carriage returns. Contents of first file: c:\blah.txt c:\blah1.txt c:\blah2.txt The goal is for the