Copyright © 2009. All rights reserved.
Copyright © 2009. All rights reserved.
Example: DataFlowExample.py
This example demonstrates how to build a data flow application using the DataFlow object along with some simple built-in pypes components that mimic Unix style applications.
The "network" depicted graphically.
__________ __________
| | | |
/| grepper1 |----->| printer1 |
/ |__________| |__________|
__________ __________ /
| | | |/
| reader |----->| splitter |
|__________| |__________|\
\ __________ __________ __________ __________ __________
\ | | | | | | | | | |
\| grepper2 |----->| sorter |----->| cutter |----->| uniq |----->| printer2 |
|__________| |__________| |__________| |__________| |__________|
The output (using this cups.log file):