I pass it to stdin to the following script:
-- valyml.py
#!/usr/bin/env python
import yaml
import sys
print yaml.load(sys.stdin)
I pass it to stdin to the following script:
-- valyml.py
#!/usr/bin/env python
import yaml
import sys
print yaml.load(sys.stdin)