This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author winterTTr
Recipients winterTTr
Date 2009-04-27.07:55:09
SpamBayes Score 1.9016888e-05
Marked as misclassified No
Message-id <1240818913.82.0.493883494313.issue5852@psf.upfronthosting.co.za>
In-reply-to
Content
I want to list the file with glob .
The path( which is a directory ) is contain square bracket as "[ab]xxx" 
.  However , i can't find how to do it rightly with glob .

with the coding :

{{{
import glob
glob.glob('[ab]xxx' )
}}}

and with the path "[ab]xxx" really exits. 
result : []

Is there a way to do it rightly ?
Or it is a bug ?
History
Date User Action Args
2009-04-27 07:55:14winterTTrsetrecipients: + winterTTr
2009-04-27 07:55:13winterTTrsetmessageid: <1240818913.82.0.493883494313.issue5852@psf.upfronthosting.co.za>
2009-04-27 07:55:11winterTTrlinkissue5852 messages
2009-04-27 07:55:11winterTTrcreate