Python Forum

Full Version: Display on gui instead of Python shell
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys , i have made a sample gui in python with tkinter,which prompts the user the mac address of his pc, however when i execute the python snippet the mac address gets displayed on the python shell instead of the gui, how do i work around this?
You need to show us your code.
I suspect you are trying to display it with a print statement which is the way to display it in the shell or terminal.
You need an entry widget like:

pwd_entry = Entry(parent)
pwd_entry.pack()
pwd_entry.config(show="*");