import _pyhl
# Read the file
aList = _pyhl.read_nodelist(``simple_test.hdf'')
# Select individual nodes, instead of all of them
aList.selectNode(``/info/xscale'')
aList.selectNode(``/info/yscale'')
aList.selectNode(``/data'')
# Fetch the data for selected nodes
aList.fetch()
# Print the data
aNode = aList.getNode(``/info/xscale'')
print ``XSCALE='' + `aNode.data()`
aNode = aList.getNode(``/info/yscale'')
print ``YSCALE='' + `aNode.data()`
aNode = aList.getNode(``/data'')
print ``DATA='' + `aNode.data()`