python字体文件woff转xml

from fontTools.ttLib import TTFont
def get():
    font = TTFont('./tyc-num.woff')
    font.saveXML('./woff4.xml')