delattr

  • Python delattr()

    delattr()函數將一個對象作為參數,並從該對象中移除一個屬性。 **delattr(object, name)** #where name is the name of at…