loop através do objeto Python
for attr, value in k.__dict__.items():
print(attr, value)
Worried Wildebeest
for attr, value in k.__dict__.items():
print(attr, value)