(Oct-18-2020, 10:55 PM)ffgth Wrote: i guess it's basically the same as i would have to access them as foo.methods[0] and foo objects will have no attribute methods.
i still will have to test i in order to call foo.method1, foo.methods[1] will return no attribute error.
Try
foo.method[1]()
Just use the empty brackets at the end when you need to call the method.