astropy.utils
astropy.utils.xml.iterparser.
xml_readlines
Get the lines from a given XML file. Correctly determines the encoding and always returns unicode.
source : readable file-like object, read function or str path
lines : list of unicode