64 myUUID=uuid.UUID(myuuid)
65 print(
'UUID:', myUUID)
66 print(
'UUID variant:', myUUID.variant)
67 print(
'UUID version:', myUUID.version,
'-',version_str[myUUID.version])
68 print(
'UUID field#0 (time_low): %12.8x (%12.8x)'\
69 %( myUUID.fields[0], myUUID.time_low ))
70 print(
'UUID field#1 (time_mid): %12.4x (%12.4x)'\
71 %( myUUID.fields[1], myUUID.time_mid ))
72 print(
'UUID field#2 (time_hi_version): %12.4x (%12.4x)'\
73 %( myUUID.fields[2], myUUID.time_hi_version ))
74 print(
'UUID field#3 (clock_seq_hi_variant): %12.2x (%12.2x)'\
75 %( myUUID.fields[3], myUUID.clock_seq_hi_variant ))
76 print(
'UUID field#4 (clock_seq_low): %12.2x (%12.2x)'\
77 %( myUUID.fields[4], myUUID.clock_seq_low ))
78 print(
'UUID field#5 (node): %12.12x (%12.12x)'\
79 %( myUUID.fields[5], myUUID.node ))
80 if myUUID.version == 1:
82 print(
'================================================')