This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
stripping:stripping [2011/04/20 10:46] – [How to get the name of the lines] decianm | stripping:stripping [2011/04/20 11:09] – [How to get the name of the lines] decianm | ||
---|---|---|---|
Line 19: | Line 19: | ||
</ | </ | ||
* This will give you something like: '' | * This will give you something like: '' | ||
+ | |||
+ | From Stripping 13 on, you have to do something like: | ||
+ | |||
<code python> | <code python> | ||
- | from StrippingSettings.Stripping12 | + | from StrippingSelections.Utils import |
- | _streams | + | streams = buildStreams(' |
- | for stream in _streams: | + | for stream in streams: |
+ | if(stream.name() == " | ||
print stream.name(), | print stream.name(), | ||
for line in stream.lines : | for line in stream.lines : |