title: line 17, in __init__ self.win = tk.Tk() TypeError: __init__() takes 2 positional arguments but 3 were given
body: <p>I'm trying to create a desktop interface using tkinter. I have used all the tips on the websites for this problem. It didn't help in any way.
  The error is given up by the line: win = tk.Tk(). What should I do to make the code work?  Full code: <a href="https://drive.google.com/drive/folders/1NoUBRFDc76WA1rkUSV5_602drRj9P3f6?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/drive/folders/1NoUBRFDc76WA1rkUSV5_602drRj9P3f6?usp=sharing</a></p>
  <pre><code>win = tk.Tk()
  win.title('wave simualator') 
  win.geometry('1024x650') 
  # win.resizable(False, False)
  tabControl = ttk.Notebook(win)  
  tab1 = ttk.Frame(tabControl)  
  tab2 = ttk.Frame(tabControl)
  win.mainloop()  
  </code></pre>
  <p>Full error traceback:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;C:\Users\Admin\PycharmProjects\13\main.py&quot;, line 213, in &lt;module&gt;
      win = tk.Tk()
    File &quot;C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py&quot;, line 2272, in __init__
      self._loadtk()
    File &quot;C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py&quot;, line 2306, in _loadtk
      self.protocol(&quot;WM_DELETE_WINDOW&quot;, self.destroy)
    File &quot;C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py&quot;, line 2194, in wm_protocol
      command = self._register(func)
    File &quot;C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py&quot;, line 1517, in _register
      f = CallWrapper(subst, func,).__call__
  TypeError: __init__() takes 2 positional arguments but 3 were given
  </code></pre>