changeset 18701 | 98e6a0a011f3 |
parent 18700 | f04a8755d6ca |
child 18702 | 7dc7dcd63224 |
18700:f04a8755d6ca | 18701:98e6a0a011f3 |
---|---|
1 #!/usr/bin/python |
|
2 |
|
3 import string |
|
4 import sys |
|
5 |
|
6 mode = 0 |
|
7 try: |
|
8 while 1: |
|
9 line = sys.stdin.readline() |
|
10 words = line.split() |
|
11 if len(words) > 0: |
|
12 if words[0] == "SPASS": |
|
13 mode = 1 |
|
14 if line == '': |
|
15 break |
|
16 line = line[:-1] |
|
17 if mode == 1: |
|
18 print line |
|
19 except: |
|
20 pass |
|
21 #f.close() |
|
22 |
|
23 sys.exit() |
|
24 |