methods to parse big foreign ascii-file?

Igor Stroh igor.stroh at wohnheim.uni-ulm.de
Wed Jun 12 15:15:06 EDT 2002


On Wed, 12 Jun 2002 18:05:51 +0200, "holger krekel"
<pyth at devel.trillke.net> wrote:

> - come up with a grammar and let a parser do
>   the hard work (which one?)

if the file is structured in a certain form, that is you can describe the
data structure with a EBNF, then have a look at 'simpleparse' (I've lost
the link, but google will certainly have some for you :) )...

HTH,
Igor

-- 
The idea behind optimistic concurrency control is surprisingly simple:
just go ahead and do whatever you want to, without paying attention
to what anybody else is doing. If there is a problem, worry about it
later. Many politicians use this algorithm, too. (c) Andrew S. Tanenbaum



More information about the Python-list mailing list