How to check if the values of a message are changing [closed]

asked 2014-09-09 15:09:36 -0500

anonymous user

Anonymous

I have a parameter message accompanying images. This message is mostly constant unless there is a change in the configuration. However the header is changing as time goes by. Is it possible to compare the current and the previous message without actually comparing each components of the message in python?

For instance, considering

message1.header = header1
message1.B = b
message1.C = c
message1.D = d

message2.header = header2
message2.A = a
message2.B = b
message2.C = c

message3.header = header
message3.A = d
message3.B = b
message3:C = c

message1 and message2 are the same while message3 is different.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2022-09-06 17:10:26.888346