[New-bugs-announce] [issue8402] glob returns empty list with "[" character in the folder name
george hu
report at bugs.python.org
Thu Apr 15 02:51:27 CEST 2010
New submission from george hu <geohuz at gmail.com>:
Have this problem in python 2.5.4 under windows.
I'm trying to return a list of files in a directory by using glob. It keeps returning a empty list until I tested/adjusted folder name by removing "[" character from it. Not sure if this is a bug.
glob.glob("c:\abc\afolderwith[test]\*") returns empty list
glob.glob("c:\abc\afolderwithtest]\*") returns files
----------
messages: 103160
nosy: george.hu
severity: normal
status: open
title: glob returns empty list with "[" character in the folder name
type: behavior
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8402>
_______________________________________
More information about the New-bugs-announce
mailing list