List files without extension, was: Bug in glob.glob for files w/o extentions in Windows

Peter Otten __peter__ at web.de
Sun Nov 30 11:19:21 CET 2003


Georgy Pruss wrote:

> Anyway, "*." is not a bad DOS convention to select files w/o extention,
> although it comes from the old 8.3 name scheme. BTW, how can you select
> files w/o extention in Unix's shells?

ls -I*.*

The -I option tells the ls command what *not* to show.

Peter




More information about the Python-list mailing list