quiero usar un boton de tk y un combobox de ttk, los agrego y me sale 2 errores ya los comente de antemano
import tkinter as tk
from tkinter import ttk
class Aplication:
def __init__(self):
self.root = tk.Tk()
self.add_components()
self.root.mainloop()
def add_components(self):
self.combo = ttk.Combobox(root)#name 'root' is not defined
self.boton = Button(root)#name 'Button' is not defined
self.boton.pack()
self.combo.pack()
app = Aplication()