delete class object from function python code example Example: python delete class object del <whatever object name you want to delete>