Bug in glob.glob for files w/o extentions in Windows

Francis Avila francisgavila at yahoo.com
Sun Nov 30 20:50:43 CET 2003


Gerrit Holl wrote in message ...
>Francis Avila wrote:
>Note that Bash doesn't behave like this either: * does not give
>everything, rather it gives everything not starting with a dot. In Bash,
>* really means: [!.]*


That behavior can be modified with the 'dotglob' shell option:

$shopt -s dotglob
$echo *
a .b b .c d ...

-- 
Francis Avila






More information about the Python-list mailing list