回答編集履歴
1
追記
answer
CHANGED
@@ -18,5 +18,6 @@
|
|
18
18
|
btn = tk.Button(text="表示",command = p_btn)
|
19
19
|
btn.place(x=50,y=150)
|
20
20
|
root.mainloop()
|
21
|
+
```
|
21
22
|
|
22
|
-
|
23
|
+
質問のコードのように.place()まで繋げてしまうと関数の戻り値がないためtxt5やbtnが「NoneType」となってしまいエラーになっています。
|