@@ -84,12 +84,12 @@ def groceries(self):
84
84
self .added (top )))
85
85
B1 .grid (row = 1 , column = 2 )
86
86
87
- B2 = Button (top , text = "Select All" , command = lambda : (text .delete (1.0 , END ),
88
- text .insert (END , self .display_all (db .select_all_groceries ()))))
87
+ B2 = Button (top , text = "Select All" , command = lambda : (text .delete (1.0 , tk . END ),
88
+ text .insert (tk . END , self .display_all (db .select_all_groceries ()))))
89
89
B2 .grid (row = 2 , column = 2 )
90
90
91
- B3 = Button (top , text = "Find value" , command = lambda : (text .delete (1.0 , END ),
92
- text .insert (END , self .find_expense (db .select_grocery , e1 , e2 ))))
91
+ B3 = Button (top , text = "Find value" , command = lambda : (text .delete (1.0 , tk . END ),
92
+ text .insert (tk . END , self .find_expense (db .select_grocery , e1 , e2 ))))
93
93
B3 .grid (row = 2 , column = 3 )
94
94
95
95
B3 = Button (top , text = "Delete expense" , command = lambda : (self .delete_expense (db .delete_grocery , e1 , e2 ),
@@ -122,12 +122,12 @@ def household(self):
122
122
command = lambda : (self .insert (db .insert_household , e1 , e2 , e3 ), self .added (top )))
123
123
B1 .grid (row = 1 , column = 2 )
124
124
125
- B2 = Button (top , text = "Select All" , command = lambda : (text .delete (1.0 , END ),
126
- text .insert (END , self .display_all (db .select_all_household ()))))
125
+ B2 = Button (top , text = "Select All" , command = lambda : (text .delete (1.0 , tk . END ),
126
+ text .insert (tk . END , self .display_all (db .select_all_household ()))))
127
127
B2 .grid (row = 2 , column = 2 )
128
128
129
- B3 = Button (top , text = "Find value" , command = lambda : (text .delete (1.0 , END ),
130
- text .insert (END , self .find_expense (db .select_household , e1 , e2 ))))
129
+ B3 = Button (top , text = "Find value" , command = lambda : (text .delete (1.0 , tk . END ),
130
+ text .insert (tk . END , self .find_expense (db .select_household , e1 , e2 ))))
131
131
B3 .grid (row = 2 , column = 3 )
132
132
133
133
B3 = Button (top , text = "Delete expense" ,
@@ -160,12 +160,12 @@ def entertainment(self):
160
160
command = lambda : (self .insert (db .insert_entertrainment , e1 , e2 , e3 ), self .added (top )))
161
161
B1 .grid (row = 1 , column = 2 )
162
162
163
- B2 = Button (top , text = "Select All" , command = lambda : (text .delete (1.0 , END ),
164
- text .insert (END , self .display_all (db .select_all_entertrainment ()))))
163
+ B2 = Button (top , text = "Select All" , command = lambda : (text .delete (1.0 , tk . END ),
164
+ text .insert (tk . END , self .display_all (db .select_all_entertrainment ()))))
165
165
B2 .grid (row = 2 , column = 2 )
166
166
167
- B3 = Button (top , text = "Find value" , command = lambda : (text .delete (1.0 , END ),
168
- text .insert (END , self .find_expense (db .select_entertainment , e1 , e2 ))))
167
+ B3 = Button (top , text = "Find value" , command = lambda : (text .delete (1.0 , tk . END ),
168
+ text .insert (tk . END , self .find_expense (db .select_entertainment , e1 , e2 ))))
169
169
B3 .grid (row = 2 , column = 3 )
170
170
171
171
B3 = Button (top , text = "Delete expense" ,
@@ -199,11 +199,11 @@ def other(self):
199
199
B1 .grid (row = 1 , column = 2 )
200
200
201
201
B2 = Button (top , text = "Select All" , command = lambda : (
202
- text .delete (1.0 , END ), text .insert (END , self .display_all (db .select_all_other ()))))
202
+ text .delete (1.0 , tk . END ), text .insert (tk . END , self .display_all (db .select_all_other ()))))
203
203
B2 .grid (row = 2 , column = 2 )
204
204
205
205
B3 = Button (top , text = "Find value" , command = lambda : (
206
- text .delete (1.0 , END ), text .insert (END , self .find_expense (db .select_other , e1 , e2 ))))
206
+ text .delete (1.0 , tk . END ), text .insert (tk . END , self .find_expense (db .select_other , e1 , e2 ))))
207
207
B3 .grid (row = 2 , column = 3 )
208
208
209
209
B3 = Button (top , text = "Delete expense" ,
0 commit comments