tkinter tag

66 questions


1 answers
116 views
0
Is there any way to connect Python tkinter and Turtle?

Write a program that draws a circle filled with the left polygon and the right red when you press the next 'click' button.In this issue

2 years ago

1 answers
80 views
0
Python class variable utilization question.

You are creating a program in Python Tkinter.I would like to inherit the value entered in Tkinter entry from another class and use it.Help me.import tkinterfrom tkinter import *from tkinter import fil...

2 years ago

1 answers
78 views
0
I want to switch frames in Python tkinter, but I get a maximum recursion depth exceeded error.

from tkinter import *class myApp(Tk): def changeFrame(self, classParam): # # if self.nowFrame: # # self.NowFrame.destory()# An error occurs in this part. self.nowFrame = classParam self.nowFrame...

2 years ago

1 answers
100 views
0
Python tkinter image path setting question 'unicodeescape' code can't decode bytes in position 2-3: truncated \UXXXXXXescape

I copied and pasted the file path on the blog with any picture I had, but there was an error.(I tried to display a picture of a png file called Lee on my desktop) from tkinter import *w = Tk()w.title(...


1 answers
70 views
0
Python tkinter memory leak problem.

import tracemalloctracemalloc.start(10)snap1 = [] #Check initial valuedef test(): if not snap1: snap1 = tracemalloc.take_snapshot() else: lines = [] top_stats = tracemalloc.take_snapshot().compare_...

2 years ago

1 answers
101 views
0
Python tkinter image file

from tkinter import *window = Tk()window.title (Choose what you need right now)def myFunc(): if var.get() == 1: labelImage.configure(image=photo1) elif var.get() == 2: labelImage.configure(image=pho...

2 years ago
« - 7 -

© 2024 OneMinuteCode. All rights reserved.