__init__ (
self,
handle,
parser=None,
)
__init__(self, handle, parser=None)
Create an object that iterates over a dom file. handle is a
file-like object. parser is an optional Parser object to change
the results into another form. If set to None, then the raw contents
of the file will be returned.
Exceptions
|
|
ValueError, "I expected a file handle or file-like object"
|
|