title: tkinter apply method not found in module
body: <p>Below you can see the code I have for a method in my GUI Class. I have been trying to create an option menu from a list however I am getting an error. It says that tkinter has no module 'apply'. In all the examples I can find people use Tkinter instead of tkinter, so has there been a change in the apply method from python 2.x to 3.x?</p>
  
  <p>I have tried writing all of the following:
  tk.apply, tk.Apply, apply. But nothing seems to work.</p>
  
  <pre><code>import tkinter as tk
  
  class GUI:
       def UploadHomeworkScreen(self):
           self.masternew = tk.Tk()
           self.framenew = tk.Frame(self.masternew)
           self.HomeworkFileEntry = tk.Entry(self.framenew)
           self.ClassVariable = tk.StringVar(self.masternew)
           self.ClassVariable.set(Client.ListOfClasses[0])
           self.ClassChoice = tk.apply(tk.OptionMenu, (self.framenew, self.ClassVariable) + tuple(Client.ListOfClasses))
           self.SubmitButton = tk.Button(self.framenew, text = "Submit", command = self.SubmitHomework)
           self.HomeworkFileEntry.pack(pady = 30, padx = 10)
           self.ClassChoice.pack()
           self.SubmitButton.pack()
           self.framenew.pack()
           self.masternew.mainloop()
  </code></pre>
  
  <p>I am open to creating the option menu another way if it is possible.</p>
  
  <p>Thanks.</p>