Hi Philip,
Ignore this if you want, but here's a simpler way to do it.
fileNames = ['c:/Python24/outputs_1ubq_alignments/output_1ubq_alignments_10%.txt' ,
'c:/Python24/outputs_1ubq_alignments/output_1ubq_alignments_20%.txt' ]
for f in fileNames:
openFile = file(f, 'r')
(answer at the bottom)
On 7/18/05, Philip Carl <[EMAIL PROTECTED]> wrote:
> I have no more hair to pull out, so I'm asking the group for help on a
> VERY simple question. I have two very similar text files to read-one
> with the final letters in the name 10%.txt and the other 20%.txt. I've
> wri
I have no more hair to pull out, so I'm asking the group for help on a
VERY simple question. I have two very similar text files to read-one
with the final letters in the name 10%.txt and the other 20%.txt. I've
written the following simple code to read these two files:
# Program to read and p