In the example below, How do I call function 1 in function 2. I have tried it just like in the example, but does not recognise para in function 2 and I have also tried replacing it with self.para which gets a undefined error..what is the right way to call function 1? I can't add another argument in function2(self).
class Example:
#def...
def function1(self, para):
#bla bla
def function2(self):
xxx = self.function1(para)
# how do I call a function such as this
para?self.function1(<that argument goes here>)