Reading selected data from text files
From: ..:: sjf ::.. (sjf_at_autograf.pl)
Date: 02/27/04
- Next message: Edward C. Jones: "Convert Python grammar specs to ANTLR"
- Previous message: Roger Upole: "Re: file() and Win32 security attributes"
- Next in thread: Piet van Oostrum: "Re: Reading selected data from text files"
- Reply: Piet van Oostrum: "Re: Reading selected data from text files"
- Reply: Paul McGuire: "Re: Reading selected data from text files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 27 Feb 2004 15:15:16 +0100
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 ;-)"
- Next message: Edward C. Jones: "Convert Python grammar specs to ANTLR"
- Previous message: Roger Upole: "Re: file() and Win32 security attributes"
- Next in thread: Piet van Oostrum: "Re: Reading selected data from text files"
- Reply: Piet van Oostrum: "Re: Reading selected data from text files"
- Reply: Paul McGuire: "Re: Reading selected data from text files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]