py_list_attributes function

List all attributes of a Python object