66 questions
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
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...
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...
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(...
import tracemalloctracemalloc.start(10)snap1 = [] #Check initial valuedef test(): if not snap1: snap1 = tracemalloc.take_snapshot() else: lines = [] top_stats = tracemalloc.take_snapshot().compare_...
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...
« | - 7 - |
© 2024 OneMinuteCode. All rights reserved.