Thanks to all for your responses!  Good lessons.  I implemented
something like what Jerry Hill suggested (dictionary), which works
well for my purposes.  The list of strings that is being passed into
this code is also provided by something I wrote so I do trust what is
being sent.  Might use what AB suggested down the line, as tool
expands.  Thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to