質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -27,3 +27,35 @@
|
|
27
27
|
val_edit3=eval(self.frame1.edit3.get())^(1<<n) #XORでn番目のbitを反転
|
28
28
|
|
29
29
|
```
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
以下がエラーの全文になります。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
Traceback (most recent call last):
|
38
|
+
|
39
|
+
File "c:/Users/xxxx/Desktop/pythonproject/Caluculator/Caluculator.py", line 267, in <module>
|
40
|
+
|
41
|
+
app = Caluculator(master=root)
|
42
|
+
|
43
|
+
File "c:/Users/xxxx/Desktop/pythonproject/Caluculator/Caluculator.py", line 13, in __init__
|
44
|
+
|
45
|
+
self.createWidgets()
|
46
|
+
|
47
|
+
File "c:/Users/xxxx/Desktop/pythonproject/Caluculator/Caluculator.py", line 44, in createWidgets
|
48
|
+
|
49
|
+
self.frame4.button16 = tkinter.Button(self.frame4,text="",command=self.buttonBit(0),font=self.font1)
|
50
|
+
|
51
|
+
File "c:/Users/xxxx/Desktop/pythonproject/Caluculator/Caluculator.py", line 146, in buttonBit
|
52
|
+
|
53
|
+
val_edit3=eval(self.frame1.edit3.get())^(1<<n) #XORで反転
|
54
|
+
|
55
|
+
File "<string>", line 0
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
^
|
60
|
+
|
61
|
+
SyntaxError: unexpected EOF while parsing
|