MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
strip_example.py
Go to the documentation of this file.
1import sys
2do_print = False
3for line in sys.stdin:
4 if line.startswith("%--- Begin generated contents ---"):
5 do_print = True
6 elif line.startswith("%--- End generated contents ---"):
7 do_print = False
8 elif do_print:
9 sys.stdout.write(line)