0

How to convert str to not or float values in tkinter get methods for entry functions

I want to convert values from the entry function that a use the get method. But using int() does not work

24th Dec 2018, 8:02 PM
Augusto Ferreira Tobias
Augusto Ferreira Tobias - avatar
5 odpowiedzi
0
Could you share your code?
25th Dec 2018, 3:53 PM
Juho Pesonen
Juho Pesonen - avatar
0
26th Dec 2018, 4:43 PM
Augusto Ferreira Tobias
Augusto Ferreira Tobias - avatar
0
I'm having problems to read the entry
26th Dec 2018, 4:43 PM
Augusto Ferreira Tobias
Augusto Ferreira Tobias - avatar
0
Augusto are you getting any errors?
26th Dec 2018, 4:48 PM
Juho Pesonen
Juho Pesonen - avatar
0
Augusto at least in the line 53: self.int(atk_d20_entry.get()) it probably should be: int(self.atk_d20_entry.get())
26th Dec 2018, 4:54 PM
Juho Pesonen
Juho Pesonen - avatar