Alan Gauld, 11.01.2010 10:07:
For more sophisticated functionality use the re module or a specialised parser.
Just a quick note here, "specialised parser" might sound like something that's hard to write. It's not. There are quite some parser packages available for Python that are easy to use. Pyparsing comes to mind, for example.
Stefan _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor