Reading selected data from text files

..:: sjf ::.. sjf at autograf.pl
Fri Feb 27 09:15:16 EST 2004


Hello Pythoners!

There are a lot of files containing data such as:

file1:
0950 1550

file22:
0952 1552

file3:
1000 1020 1050 1130 1150 1200 1245 1600

file4:
1002 1022 1052 1132 1152 1202 1247 1602

file5:
1005 1025 1055 1135 1155 1205 1250 1605

I want to read from them only that data which produce a following sequence
of data:
=> 0950 0952 1000 1002 1005
=> 1555 1557 1600 1602 1605


--
..:: sjf ::..
"Linux is like Wigwam. No gates, no windows... Apache inside ;-)"



More information about the Python-list mailing list