#! /usr/bin/python

import yaml

def main():
    #f = open("data.yaml", "r")
    f = open("data2.yaml", "r")
    yd = yaml.load(f)
    #print "YAML Data: %s" % str(yd)

    for key in yd:
        print "%s" % key
        print "Type: %s" % str(type(yd[key]))
        print str(yd[key])
        print ""

def 
():
    #f = open("data.yaml", "r")
    f = open("data2.yaml", "r")
    yd = yaml.load(f)
    #print "YAML Data: %s" % str(yd)

    for key in yd:
        print "%s" % key
        print "Type: %s" % str(type(yd[key]))
        print str(yd[key])
        print ""



if __name__ == "__main__":
    main()

yaml_test