seafoid <fitzp...@tcd.ie> writes: > Hi folks, > > I am new to python and am having some trouble parsing a file.
It really sounds like you need something that generates a parser for you based on a grammar instead of trying to code your own parser. See: http://wiki.python.org/moin/LanguageParsing for an overview of modules. -- John Bokma Read my blog: http://johnbokma.com/ Hire me (Perl/Python): http://castleamber.com/ -- http://mail.python.org/mailman/listinfo/python-list