[Scons-users] Glob

Gary Oberbrunner garyo at oberbrunner.com
Sat Mar 8 14:42:28 EST 2014


On Sat, Mar 8, 2014 at 2:36 PM, Russel Winder <russel at winder.org.uk> wrote:


> On Sat, 2014-03-08 at 19:32 +0000, Russel Winder wrote:

> [...]

> > map(str, Glob('*.cc')).remove(str(File('theFile.cc'))

> >

> > appears to do the trick.

>

> Except that is still fails. I can see the string 'theFile.cc' in the

> result of the map and remove still refuses to recognize it. I am

> flumoxed :-(

>

> Well, at this point it's all just strings, right? Print type() of each

thing to make sure.

--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140308/1d196775/attachment.html


More information about the Scons-users mailing list