誰でも私を助けることができますか?
from Tkinter import *
import easygui
def whenoneclick():
#How do I insert "1" into the Entry Label (inputbox)?
def mainfunc():
inputvalue = inputvar.get()
outputvalue = eval(inputvalue)
easygui.msgbox("The answer is: " + str(outputvalue), title="Answer")
maingui = Tk()
inputvar = StringVar()
inputbox = Entry(maingui, textvariable=inputvar).place(x=10,y=10)
inputbut = Button(text="=",command=mainfunc).place(x=10,y=40)
button = Button(text="1",command=whenoneclick).pack()
返信してください。