RE: How do I use the data entered in a form?

2020-08-22 Thread Peter Otten
Steve wrote: > I take it that "fetch" is not an inside command or reserved word. The > code is everything what was posted. You don't say where you "found" the code. If you took it from https://www.python-course.eu/tkinter_entry_widgets.php you need to take another look. A fetch() function is

RE: How do I use the data entered in a form?

2020-08-22 Thread Steve
y, to they cacel each other out? -Original Message- From: Python-list On Behalf Of Peter Otten Sent: Saturday, August 22, 2020 2:26 AM To: python-list@python.org Subject: Re: How do I use the data entered in a form? Steve wrote: > def makeform(root, fields): >entries = {} >

Re: How do I use the data entered in a form?

2020-08-21 Thread Peter Otten
Steve wrote: > def makeform(root, fields): >entries = {} >for field in fields: ... >return entries > > if __name__ == '__main__': >root = Tk() >ents = makeform(root, fields) > > SR = (entries['Sensor_Reading'].get()) > print ("SR Outside = " + SR) > > ==