Re: can't use "glog" to find the path with square bracket

2009-04-29 Thread winterTTr
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

Re: can't use "glog" to find the path with square bracket

2009-04-27 Thread MRAB
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