yes , i works as your advise. Thanks a lot . :-)
On Apr 28, 9:52 am, MRAB wrote:
> winterTTr wrote:
> > 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 t
winterTTr wrote:
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