xml.sax.saxutils.prepare_input_source()

xml.sax.saxutils.prepare_input_source(source, base='')

This function takes an input source and an optional base URL and returns a fully resolved InputSource object ready for reading. The input source can be given as a string, a file-like object, or an InputSource object; parsers will use this function to implement the polymorphic source argument to their parse() method.

doc_python
2016-10-07 17:48:23
Comments
Leave a Comment

Please login to continue.