Hey I'm just wondering how to make pop-up windows in tkinter.
create a toplevel popup window that overlaps the root window
import Tkinter as tk
import tkinter as tk
window2 = tk.Toplevel(root)
# give window2 a position to overlap the root window
window2['bg'] = 'yellow'
tk.Button(window2, text='Leave window2', command=window2.destroy).pack()
root = tk.Tk() # root is a toplevel window
# set 200x200 window upper left corner to x=100, y=50
root['bg'] = 'green'
tk.Button(root, text='Pop up window2', command=popup_window).pack()
hi. i have a really basic question (really new to python). how do i read an entire binary file? from https://www.devdungeon.com/content/working-binary-data-python , data = binary_file.read() is to read the whole ...
data = binary_file.read()
A person starts out as the "Curator" and stands at the end of a field. Everyone else playing stands at the far end (distance depends upon playing area selected). The ...
I am currently working on a program to track my mile for my monthly expense report for work. Everything is working great, however, I can not for the life of ...