Hey there, i have a text file with a bunch of values scattered throughout it. i am needing to pull out a value that is in parenthesis right after a certain word, like the first time the word 'foo' is found, retrieve the values in the next set of parenthesis (bar) and it would return 'bar'
i think i can use re to do this, but is there some easier way? thanks -- http://mail.python.org/mailman/listinfo/python-list