Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
import xml.etree.ElementTree as ET | |
import json | |
tree = ET.parse('frequencies.xml') | |
root = tree.getroot() | |
freq_list = {} | |
for child in root: | |
name = child.find("Name").text | |
group = child.find("GroupName").text |