May-11-2020, 03:07 PM
(This post was last modified: May-11-2020, 03:07 PM by scratchmyhead.)
When I try to convert an entry field value to an integer, I get an error like: 'Invalid literal for int'. How can I convert an entry filed to an integer without getting this error? Below is part of my code. Where I want the variable 'ratep' to equal the integer of the entry field 'ratee'.
1 |
ratep = int (ratee.get()) |