Tutorial by Topics: parser

ParseResult Cases A ParseResult comes in three flavors: Success, with a marker as to the start of the match and the next character to be matched. Failure, with a marker as to the start of where the match was attempted. In this case the parser backtracks to that position, where it will be when...
Reading data in from a csv can be handled in many ways. One solution is to read the csv file into an array. From there you can do work on the array.
This module provides the ConfigParser class which implements a basic configuration language in INI files. You can use this to write Python programs which can be customized by end users easily. Each new line contains a new key value pair separated by the = sign Keys can be separated in section...
OptionParser can be used for parsing command line options from ARGV.

Page 1 of 1