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.
What's the Unladen Swallow title below my name and avatar?
Suct = float(EntSuct.get())[/quote]How should I handle this to avoid these kinds of errors?
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:By the way.
What's the Unladen Swallow title below my name and avatar?