Back to index

python3.2  3.2.2
Variables
parseentities Namespace Reference

Variables

tuple entityRE = re.compile('<!ENTITY +(\w+) +CDATA +"([^"]+)
tuple infile = open(sys.argv[1])
tuple outfile = open(sys.argv[2],'w')
tuple text = infile.read()
tuple defs = parse(text)

Variable Documentation

tuple parseentities.defs = parse(text)

Definition at line 62 of file parseentities.py.

tuple parseentities.entityRE = re.compile('<!ENTITY +(\w+) +CDATA +"([^"]+)

Definition at line 18 of file parseentities.py.

Definition at line 54 of file parseentities.py.

Definition at line 58 of file parseentities.py.

tuple parseentities.text = infile.read()

Definition at line 61 of file parseentities.py.