66 questions
import tkinter as tkdef func1(): label.config(text = 'Button 1')def func2(): label.config(text = 'Button 2')sel = tk.IntVar()sel.set(1)label = tk.Label(root, text = 'Select Button')label.pack()rb1 = t...
b1 = Button(window, text= , width=8, height=4, command=lambda:markBoard(b1))In the process of making a tiktakto game with tkinter,In this way, I'm putting a lambda command in button 1, so can you ad...
I'm trying to make it snow on canvas, but if I draw a dot on canvas according to the def function, the dot falls like snow, but if I draw a different dot, the original snow stops and the new dot goes ...
I gathered examples to create a program, but I don't think it's good, so I'm asking questions.The first error that pops up is that com is definedㅠ
NameError: name 'a' is not definedp1.py file and made for UI using tkinterp1.py has a file p2.py to run via command.The ultimate goal is to read the file path of a file from the p2.py file.First, in p...
I want to run the after function sequentially.For example, root.after(10, A)root.after(10, B)If this is the case,After 10 ms, A runsIf A runs, I want B to run after 10 msI don't think it comes out eve...
Python tkinter in use An attempt was made to execute a function through the command in the button widget.But I'm asking you this question because it doesn't work normally.TestBtn = Button (MainForm, t...
import tkinterwindow=tkinter.Tk()window.title(Composing Program)window.geometry(700x700+0+0)window.resizable(False, False)o=4def octaveDown(): global o o-=1def octaveUp(): global o o+=1down=tkinter.Bu...
Looking at a book called Python programming that everyone learns easily I'm making a brick breaking game like the image below.I want to hit a block while the ball is moving, but the ball passes throug...
« | - 5 - | » |
© 2024 OneMinuteCode. All rights reserved.