Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I want to put the "Selecto a file to encrypt" on the left site, a try it separate too and it didn't work.
tk.Label(frame, text="Select a file to encrypt: ", fg="black").pack(padx=100, pady=100, side=tk.LEFT)
padx=100
side=tk.LEFT works in the space allocated by pack. You can use something like that
side=tk.LEFT
Label(root, text='text', anchor='w').pack(fill='both')
or using grid
grid
label.grid(row=0, column=0, sticky="w")
Add a comment
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
padx=100.