problem with string.lower function

Don Low mt at open2web.com
Mon Apr 28 15:22:58 EDT 2003


Thanks, you're right. The line I added used spaces for indentation while
the other lines used tabs. 

>>         for eachLine in allLines:
>>         test = string.lower(eachLine) // change is here
>>         if string.find(test, word) > -1:
>>                 count = count + 1
>>                 print eachLine,
>> 

Mark




More information about the Python-list mailing list