[Python-Dev] splitext('.cshrc')

Johann C. Rocholl johann at rocholl.net
Tue Mar 6 20:24:43 CET 2007


On 3/6/07, Phillip J. Eby <pje at telecommunity.com> wrote:
> It's *useful* to classify e.g. .svn directories or .*rc files by their "extension"

I respectfully disagree. When trying to find directories named .svn or
files named .bashrc, I do

>>> filename in ('.svn', '.bashrc')

because I don't expect filenames like foo.svn or bar.bashrc -- have
you ever seen one? These are not "extensions" for me.


More information about the Python-Dev mailing list