I'm trying to put a small frame in a larger frame but when I run this code it only gives me the smaller frame with the bigger mainframe nowhere in sight. I'm just beginning to learn how to make stuff in python so I could be completely wrong in my approach but I can't see what I'm doing wrong here. Any help would be really appreciated.
from tkinter import *
master = Tk()
main_frame = Frame(master,
width = '900',
height = '500',
bg = '#9bdcd5')
login_frame = Frame(main_frame,
width = '500',
height = '300',
bg = '#FFFFFF')
main_frame.pack()
login_frame.pack()
if __name__ == '__main__':
mainloop()