On 20/05/2017 03:10, Chris Angelico wrote:
On Sat, May 20, 2017 at 11:40 AM,  <gareths2...@cardensv.com> wrote:
def calc(self, display):
    try:
        display.set(eval(display.get()))
    except:
        display.set("Type an actual equation please!")

Without any specific questions, you're not going to get anything more
than a basic eyeballing of the code.

Try running the program.

(I did that but I can't follow this style of coding so can't help.)

--
bartc
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to