tkinter tag

66 questions


1 answers
103 views
0
Code questions to increase the number using Python tkinter

If you press the + button, the number increases and if you press the reset button, the Python gui code is initialized, but I don't know why there is no change even if I press the button. Can't it be a...

2 years ago

1 answers
100 views
0
I'm making a rock-paper-scissors program with tkinter, but there are no errors and no results I want.

The code is as follows:from tkinter import *import randomwindow = Tk()button_list=['Rock', 'Paper', 'Scissors']RockImage=PhotoImage(file=rock.png)PaperImage=PhotoImage(file=paper.png)ScissorImage=Phot...

2 years ago

2 answers
85 views
0
I'm printing the current time by pressing the Python tkinter button, but why can't I print the GUI button?

If you click the button with the TKINTER GUI, the current time is printed, but the button is not printed in the 23rd and 3rd positions.There are no errors.What's the problem?from datetime import datet...

2 years ago

1 answers
96 views
0
It's a Python question.

from tkinter import *import matplotlib.pyplot as pltwin = Tk()win.geometry(1024x576)win.title(Minecraft bukkit)win.option_add(*Font, NotoSansKR-Medium 20)ent = Entry(win)ent.insert (0Enter server to f...

2 years ago

1 answers
59 views
0
Python Simple tkinter Program Question: Press button to switch to another screen

I have about 5 coupons here and I'd like to make a coupon, would you like to use it? If I press cancel, I want to go back to the first screen, but I don't know what to do What should I do with that?fr...

2 years ago

1 answers
99 views
0
I want to print out multiple lines of text from Python Tkinter module.

import random as rddef lottery_number(): num = int(number.get()) for i in range(num): lotto_list = list(range(1,46)) #from 1 to 45 rd.shuffle(lotto_list) #shuffle lotto_list1 = lotto_list[:6] lot...

2 years ago

1 answers
83 views
0
I made a calculator using Python tkinter, but an error appears. 'NoneType' object has no attribute 'configure'

I'm sorry to attach the picture.I made a calculator using tkinterRun and enter a value.AttributeError: 'NoneType' object has no attribute 'configure'An error appears. I think there is a problem with ....

2 years ago

2 answers
102 views
0
Senior artists. I have a question about the Python Tkinter button stopping.

Hello.I'm a beginner who is studying Python.I'm just making a program that takes a simple screen shot using Python Tkinter.I'm asking the seniors like this because there's a stop phenomenon with the f...

2 years ago

1 answers
76 views
0
Python entry questions when clicked

When I type in entry, I want to delete the existing contents when I click entry, what should I do?I know you can erase it with Entry.configure() or with Entry.delete(0, END)I don't know how to make it...

2 years ago

2 answers
105 views
0
Python tkinter : Problems when dynamically creating a button and connecting the event handler for each button using Lambda.

i = 0for f in range(len(machh)): globals()['button{}'.format(f)] = tkinter.Button(frame, command = lambda : self.Match_Deep_Search(f) ) # Create buttons as large as the list def Match_Deep_Sea...

« - 6 - »

© 2024 OneMinuteCode. All rights reserved.