Python Notes/yaml2xml.py

From Federal Burro of Information
Revision as of 17:38, 6 March 2021 by David (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
#!/usr/bin/python
from yaml import load
from gnosis.xml.pickle import dumps
# from sys import stdin
import sys

data = sys.stdin.readlines()
# print dumps(load(stdin.read()).next())
dumps(data)