Re: [Tutor] Testing a string to see if it contains a substring (Steve and Mark)

2015-01-23 Thread Mark Lawrence
On 22/01/2015 16:15, dw wrote: Thanks so much Steve and Mark! You've given me a lot to chew on. :-D I'll pursue! More Python FUN!! Thanks for the thanks, but please don't change the subject as it breaks threading, making it more

Re: [Tutor] Testing a string to see if it contains a substring (Steve and Mark)

2015-01-23 Thread dw
Thanks so much Steve and Mark! You've given me a lot to chew on. :-D I'll pursue! More Python FUN!! Based on your description, I think the best way to do this is: # remove blank lines line_array = [line for line in line_array if l