In a message of Wed, 05 Aug 2015 08:43:45 +0200, Peter Otten writes:
>Laura Creighton wrote:
>but I don't think that's simpler. Can you enlighten me?

When I got here, I landed in the middle of a discussion on how to
use regexps for solving this.  Plus a slew of string handling
functions, none of which included endswith, which I think is a
fine idea as well.

The nice thing about fname is that it handles all the 'are your
file names case insensitive' stuff for you, which can be a problem.

Laura

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to