Here is the basic code. I want to pass on printing if the value is not an int. I am a nube so go easy please. Also, I am sure my code is garbage so if you can also help with that i would be grateful.
with open(file) as file:
for Properties in root.iter('Properties'):
Name = Properties.get('Name')
Value = int(Properties.get('Value'))
if int(Value) > 1:
print(Name, "( ""LICENSE COUNT =", Value, ")")
else:
pass
file.close()
file.closed