I keep getting the error message of "cannot use geometry manager grid inside . which already has slaves managed by pack" - which means i cant use pack and grid together. I dont know how to change frame.pack() into a form where i can use grid.
def __init__(self, master):
frame = Frame(master)
frame.pack()
root.geometry("800x600")
root.title("www.heathhighschool.co.uk/local/secure/management%system")
root.iconbitmap("HeathIcon.ico")
username = Label(frame, text="Username:").grid(row=1, column=0)
username_entry = Entry().grid(row=1, column=1)
passw = Label(frame, text="Password:").grid(row=2, column=0)