• 카테고리

    질문 & 답변
  • 세부 분야

    데스크톱 앱 개발

  • 해결 여부

    미해결

insert() 오류 해석

21.02.13 22:01 작성 조회수 197

0

calculator.py 라는 파일을 만들었는데 오류가 나네요.

왜 이러는 거죠?

오류문->

line 156, in bc_0

    txt.insert("0")

TypeError: insert() missing 1 required positional argument: 'string'

Exception in Tkinter callback

코드->

    def bc_0():

        num_lst.append(0)


        txt.config(state="normal")

        txt.insert(0)

        txt.config(state="readonly")

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!