[Python-Dev] splitext('.cshrc')
Fredrik Lundh
fredrik at pythonware.com
Wed Mar 7 14:34:49 CET 2007
Martin v. Löwis wrote:
> I never considered it an extension. Ask 10 people around you to see
> what a leading dot on Unix in a file name means, and I would be
> suprised if more than one answered "it separates the file name from
> the extension". Most of them likely include "hidden file" in their
> answer, and the rest (of those who know anything about it) will
> say "dotfiles, not displayed by ls, and not included in globbing".
10 Unix programmers, perhaps. Windows users may disagree; after all, the
Windows Explorer considers both
foo.bar
and
.bar
to be BAR files, and considers
.py
to be an unnamed Python file.
</F>
More information about the Python-Dev
mailing list