xml_readlines¶
-
astropy.utils.xml.iterparser.
xml_readlines
(source)[source] [edit on github]¶ Get the lines from a given XML file. Correctly determines the encoding and always returns unicode.
Parameters: - source : readable file-like object, read function or str path
Returns: - lines : list of unicode