0

I have this code

class ScreenMain(Screen):
    def __init__(self,**kwarge):
        super(ScreenMain,self).__init__(**kwarge)
        self.ids.input2.text=get_display(arabic_reshaper.reshape(self.ids.input2.text))

When I run the code it gives me this error

AttributeError: 'super' object has no attribute 'getattr'

And I tried a lot to solve this problem, even with the addition of parentheses to Screen Mine, so that the code looks like this:

super(ScreenMain(),self).__init__(**kwarge)

This error occurs:

RecursionError: maximum recursion depth exceeded while calling a Python object

I did not find a solution in either case

Is there a solution or is this becoming something impossible and difficult

zyadpc20
  • 11
  • 1

0 Answers0