Python Usuń atrybut z DICT

a_json = {"attr1":"value1"}
a_json["attr2"] = 0.75
del a_json["attr2"]

print(a_json)
Karamolegkos