I'm having trouble with tkinter .pack(side=***) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I'm having trouble with tkinter .pack(side=***)

""" images of code and error below """ I'm trying to set up two frames with .pack(side=BOTTOM) && .pack(side=TOP) but it keeps giving me an error. https://imgur.com/a/icDON9c I have tried putting them in parenthesis, using lower case in and out of parenthesis and nothing works... idk what I'm doing wrong.

7th Sep 2019, 9:22 PM
Dylan Campbell
Dylan Campbell - avatar
2 Answers
0
At the line 13 ’side = top’ should be ’side = TOP’
17th Sep 2019, 7:07 PM
Juho Pesonen
Juho Pesonen - avatar
0
Juho Pesonen it still throws that error when I put it that way. Regularly all side options are capitalized but for whatever reason no matter how I put it it gives me an error.
17th Sep 2019, 9:30 PM
Dylan Campbell
Dylan Campbell - avatar