Re: find str in list of file nodes
Bill Deegan <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <CAEyG4CFi8JUeT-75AWRmVEtLyVBU2YAsK=jDL-2mV_vFkAJ7iA@mail.gmail.com> |
Dagg, Not entirely sure what you're asking. Do you have a list of Node's (in this case File Nodes) and you want to find if they're in a file path?) nodes_in_path = [n for n in nodes if my_path in str(n)] ? -Bill On Wed, Jul 15, 2020 at 9:51 AM daggs <[email protected]> wrote: > Greetings, > > I have an input of list of SCons.Node.FS.File and an path str that I want > look for it. > is there a prper way t convert and str to SCons.Node.FS.File or I need to > convert the entire list to strs? > > Thanks, > > Dagg. > _______________________________________________ > Scons-users mailing list > [email protected] > https://pairlist4.pair.net/mailman/listinfo/scons-users > _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users