Andrew Dalke's writingsWritings from the software side of bioinformatics and chemical informatics, with a heaping of Python thrown in for good measure. Code to taste. Best served at room temperature.python4ply tutorial, part 3- March 10, 2008 The following is an except from the python4ply tutorial. python4ply is a Python parser for the Python language using PLY and the 'compiler' module from the standard library to parse Python code and generate bytecode for the Python virtual machine. Creating regular expression pattern objects Regular expressions are fun. The first contact I had with them was through DOS globbing, where "." matched all files with an extension. Then I started using Unix, and started using Archie, which...http://www.dalkescientific.com/writings/diary/archive/2008/03/10/python4ply_tutorial_3.htm... |