tkinter tag

66 questions


1 answers
107 views
0
Error creating python tkinter radio button after saving

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...

2 years ago

1 answers
95 views
0
This is a question of putting the Python tkinter button command.

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...

2 years ago

1 answers
80 views
0
How to make Python tkinter function non-stop

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 ...

2 years ago

1 answers
115 views
0
[python]

from tkinter import *import webbrowserroot = Tk()root.title(URL)# This is just a friend who opens up a browser windowdef mkurl(event): webbrowser.open_new(event.widget.cget(text))#This is a function t...

2 years ago

1 answers
125 views
0
I want to make a rock-paper-scissors program

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ㅠ


2 answers
126 views
0
Problems initializing variables defined by existing functions when module is being imported

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...


1 answers
85 views
0
I'd like to know how to run Python tkinter sequentially.

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...

2 years ago

1 answers
147 views
0
Python tkinter button command Lambda.

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...


1 answers
110 views
0
Textvariable error on Python tkinter module Label...

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...

2 years ago

1 answers
118 views
0
This is a question about tkinter during Python Guy programming.

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...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.