On Thu, Mar 31, 2011 at 3:14 PM, Wehe, Marco <marco.w...@bskyb.com> wrote:

>  Hi,
>
>
>
> I am doing a search through a list of files but the text the casing doesn't
> match. My list is all upper case but the real files are all different. Is
> there a smooth way of searching through the list without going full on
> regular expressions?
>
>
if iFile.upper() in media:
    # do stuff
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to