Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Simple Calculator with Python GUI #106

Merged
merged 2 commits into from Oct 18, 2019

Conversation

@Geoveza
Copy link
Contributor

Geoveza commented Oct 16, 2019

This is only as a trial phase for python gui based calculators

@theekrystallee theekrystallee merged commit 4307b4b into theekrystallee:master Oct 18, 2019
Copy link

moeez96 left a comment

Slight nit

elif output == "false":
print("\nNo Cuss Words :) in \'"+text+"\'")

read_text()

This comment has been minimized.

Copy link
@moeez96

moeez96 Oct 30, 2019

Please add eof line

e1.grid(column=2,row=2)

e2=tk.Entry(gui)
e2.grid(column=3,row=3)

This comment has been minimized.

Copy link
@moeez96

moeez96 Oct 30, 2019

Please add eof line

}
};
t.start();
class demo implements Runnable{

This comment has been minimized.

Copy link
@Pr0methean

Pr0methean Nov 4, 2019

By Java conventions, class names should be in UpperCamelCase, and the filename should match the class name.

l1=tk.Label(gui,text='ans')
l1.grid(column=0,row=0)

def abc():

This comment has been minimized.

Copy link
@Pr0methean

Pr0methean Nov 4, 2019

Use more descriptive names like "add", "subtract"...

l1.configure(text=a)
b=e2.get()
l1.configure(text=b)
result=int(a)/int(b)

This comment has been minimized.

Copy link
@Pr0methean

Pr0methean Nov 4, 2019

Handle division by zero?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.