+ 1

Can anyone tell me a function for backspace for a calculator in tkinter ??

when i press a the backspace button i need to delete the numbers within the entry box 1 by 1 ?? any function for it ?

26th Jan 2018, 10:50 AM
Abhishek 305
Abhishek 305 - avatar
2 Answers
0
If the line is written as a string, then I think MyInput[(MyInput.lenght-1)]=None should work. I'm kinda new to Python, so I'm not sure if that will work.
28th Jan 2018, 5:17 PM
Ivan
0
thanks
28th Jan 2018, 5:47 PM
Abhishek 305
Abhishek 305 - avatar