Python Forum
[Tkinter] Display on gui instead of Python shell
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Display on gui instead of Python shell
#1
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?
Reply
#2
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.
Reply
#3
You need an entry widget like:

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tkinter Shell Terminal Or Shell Output sweetthdevil 5 8,757 Feb-03-2024, 02:51 PM
Last Post: Gribouillis
  [GTK] Virtual python shell with Vte.Pty.spawn_async() jiri 2 3,314 Oct-20-2019, 12:16 PM
Last Post: Axel_Erfurt
  Display and update the label text which display the serial value jenkins43 5 8,988 Feb-04-2019, 04:36 AM
Last Post: Larz60+
  Display more than one button in GUI to display MPU6000 Sensor readings barry76 4 3,833 Jan-05-2019, 01:48 PM
Last Post: wuf

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020