1 from gdcmPython import *
2 toRead = gdcmHeader(FileName)
5 print "##############################################################"
6 print "### Display all the possible tags of the current public"
7 print "### dictionary, but grouped by using the Fourth field"
8 print "##############################################################"
9 AllDictFields = toRead.GetPubTagNamesByCategory()
10 for fourth in AllDictFields.keys():
11 print " ############ Fourth group = ", fourth, " ##############"
12 for entry in AllDictFields[fourth]: