astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v0.3 »
- Astropy Core Package Utilities (`astropy.utils`) »
- xml_readlines

# xml_readlines

`astropy.utils.xml.iterparser.``xml_readlines`(source)

  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