astro
py
:docs
Index
Modules
Navigation
next »
« previous
|
Astropy v1.0.dev9586
»
Astropy Core Package Utilities (
astropy.utils
)
»
xml_readlines
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
Page Contents
xml_readlines