3. Extension Methods

When a PyHP document starts parsing there are two objects in its namespace. The first is the sys built-in module which is modified so that sys.stdout and sys.stdin point to objects in the interpreter that collect data to allow headers to be defined in the middle of the document. The second is an object named pyhp.


Subsections