質問編集履歴
2
質問内容追記
title
CHANGED
|
@@ -1,1 +1,1 @@
|
|
|
1
|
-
文法がどう間違っているのか、ご教授いただきたい。
|
|
1
|
+
エラー文の読み方が分からない、また、文法がどう間違っているのか、ご教授いただきたい。
|
body
CHANGED
|
File without changes
|
1
質問内容を変更
title
CHANGED
|
@@ -1,1 +1,1 @@
|
|
|
1
|
-
どう
|
|
1
|
+
文法がどう間違っているのか、ご教授いただきたい。
|
body
CHANGED
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
### 前提・実現したいこと
|
|
2
|
-
|
|
2
|
+
文法ミスがなぜ起こっているのか理解したい。
|
|
3
3
|
|
|
4
4
|
###参考サイト
|
|
5
5
|
[https://pythonprogramming.net/change-show-new-frame-tkinter/](https://pythonprogramming.net/change-show-new-frame-tkinter/)
|
|
6
6
|
|
|
7
7
|
### 発生している問題・エラーメッセージ
|
|
8
|
-
エラー文:
|
|
9
|
-
```
|
|
10
|
-
Traceback (most recent call last):
|
|
11
|
-
File "Window_ver1.1.py", line 210, in <module>
|
|
12
|
-
application = WordPracticeApp()
|
|
13
|
-
File "Window_ver1.1.py", line 48, in __init__
|
|
14
|
-
|
|
8
|
+
frame = F(container, self) ← このコードにエラー文がでるのだが、間違っている理由が、分からない。
|
|
15
|
-
File "C:\Users\kaiji\Anaconda3\lib\tkinter\__init__.py", line 2738, in __init__
|
|
16
|
-
Widget.__init__(self, master, 'frame', cnf, {}, extra)
|
|
17
|
-
File "C:\Users\kaiji\Anaconda3\lib\tkinter\__init__.py", line 2293, in __init__
|
|
18
|
-
(widgetName, self._w) + extra + self._options(cnf))
|
|
19
|
-
_tkinter.TclError: unknown option "-menu"
|
|
20
|
-
```
|
|
21
9
|
|
|
10
|
+
|
|
22
11
|
### 該当のソースコード
|
|
23
12
|
|
|
24
13
|
```python
|