Mar-17-2019, 04:17 PM
I am taking values from Entry widgets, some of which can be a null /empty and to run them into SQLite.
How should I handle this to avoid these kinds of errors?
By the way.
What's the Unladen Swallow title below my name and avatar?
1 |
Suct = float (EntSuct.get())[ / quote] |
1 2 3 4 5 6 7 |
Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Kevin\AppData\Local\Programs\Python\Python37-32\lib\tkinter\__init__.py" , line 1705 , in __call__ return self .func( * args) File "C:\MyScripts\Pump_Calc.py" , line 124 , in FileSave Suct = float (EntSuct.get()) ValueError: could not convert string to float : |
What's the Unladen Swallow title below my name and avatar?