Get() Missing 1 Required Positional Argument: 'self'
class CofficientsDialog : global a,b,c def __init__(self,master): self.x=DoubleVar self.y=DoubleVar self.z=DoubleVar self.master = master
Solution 1:
DoubleVar is a class, to use it, you must instantiate it, with
self.x = DoubleVar()
self.y = DoubleVar()
self.z = DoubleVar()
then the self parameter is automatically filled.
Post a Comment for "Get() Missing 1 Required Positional Argument: 'self'"