2 toRead = gdcm.gdcmHeader(FileName)
5 print "##############################################################"
6 print "### Display all the elements and their respective values"
7 print "## found in the ", FileName, " file."
8 print "##############################################################"
9 ValDict = toRead.GetPubElVal()
10 for key in ValDict.keys():
11 print "[%s] = [%s]" %(key, ValDict[key])