[issue8402] glob returns empty list with "

2010-04-14 Thread george hu
george hu added the comment: Well, the listdir doesn't support "wildcard", for example, listdir("*.app"). I know the glob is kind of unix shell style expanding, but my program is running under windows, it's my tiny script to walk through a huge directory

[issue8402] glob returns empty list with "

2010-04-14 Thread george hu
george hu added the comment: Well, the listdir doesn't support "wildcard", for example, listdir("*.app"). I know the glob is kind of unix shell style expanding, but my program is running under windows, it's my tiny script to walk through a huge directory

[issue8402] glob returns empty list with "[" character in the folder name

2010-04-14 Thread george hu
george hu added the comment: Ok, what if the name of the directory contains "[]" characters? What is the escape string for that? -- status: closed -> open ___ Python tracker <http://bugs.pyth

[issue8402] glob returns empty list with "[" character in the folder name

2010-04-14 Thread george hu
New submission from george hu : 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