Home > Blockchain >  how to save input from e.get in a variable (python, tkinter)
how to save input from e.get in a variable (python, tkinter)

Time:11-29

I'm unsure if this has been asked (probably has), but I haven't seen anything from a quick google search. Sorry if this is a bad question as I'm a beginner python programmer. I was wondering if it's possible to save information from an entry in python using tkinter with "e.get()"

CodePudding user response:

Yes, you can directly save the value of e.get() in a variable by doing any_variable = e.get().

Then you can use that variable for anything you want.

Hope my answer helped :D

  • Related