1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\ICAREX\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 535, in get
return self._tk.getint(value)
_tkinter.TclError: expected integer but got ""
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\ICAREX\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 1883, in __call__
return self.func(*args)
File "D:/Programmation/Test_sumEntry.py", line 4, in somme
result.set(var1.get() + var2.get())
File "C:\Users\ICAREX\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 537, in get
return int(self._tk.getdouble(value))
_tkinter.TclError: expected floating-point number but got "" |
Partager