I have been working with numbers in tkinter using operators but I'm unsure on how to process the input and using maths on them. I also wouldn't mind knowing how to use words either for future reference. Reply if you know anything.
entropic3105
12
Light Poster
Recommended Answers
Jump to PostHere is an example ...
''' Tk_Entry_numbers1.py a general Tkinter program to enter two data items process the data and display the result tested with Python27/33 ''' try: # Python2 import Tkinter as tk except ImportError: # Python3 import tkinter as tk def calculate(): """ in this …
Jump to PostSounds like you are doing something like this ...
enter1 = tk.Entry(root, bg='yellow').pack()Wit ...
try: # Python2 import Tkinter as tk except ImportError: # Python3 import tkinter as tk root = tk.Tk() enter1 = tk.Entry(root, bg='yellow').pack() print(enter1) # None enter2 = tk.Entry(root, bg='yellow') print(enter2) # .48379408 …
All 7 Replies
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
entropic3105
12
Light Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
entropic310500
0
Newbie Poster
Lardmeister
461
Posting Virtuoso
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
bumsfeld
413
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.