astro
py
:docs
Index
Modules
Navigation
next »
« previous
|
Astropy v1.0.dev9586
»
Astropy Core Package Utilities (
astropy.utils
)
»
get_xml_encoding
get_xml_encoding
¶
astropy.utils.xml.iterparser.
get_xml_encoding
(
source
)
[source]
[edit on github]
¶
Determine the encoding of an XML file by reading its header.
Parameters:
source
: readable file-like object, read function or str path
Returns:
encoding
: str
Page Contents
get_xml_encoding