About 371,000 results
Open links in new tab
  1. python - How do I close a tkinter window? - Stack Overflow

    How do I end a Tkinter program? Let's say I have this code: from Tkinter import * def quit(): # code to exit root = Tk() Button(root, text="Quit", command=quit).pack() root.mainloop() How sh...

  2. Create a directly-executable cross-platform GUI app using Python

    318 First you will need some GUI library with Python bindings and then (if you want) some program that will convert your python scripts into standalone executables. Cross-platform GUI libraries with Python …

  3. Choosing a file in Python with simple Dialog - Stack Overflow

    Sep 12, 2017 · I would like to get file path as input in my Python console application. Currently I can only ask for full path as an input in the console. Is there a way to trigger a simple user interface where...

  4. Is it possible to style Python GUI like you would style HTML with CSS ...

    Dec 7, 2020 · Inside of python your options are quite less, but never none. You have options starting from ttk from tkinter, which uses your OS native widgets and with ttkthemes you can get more …

  5. How to hide console window in python? - Stack Overflow

    I am writing an IRC bot in Python. I wish to make stand-alone binaries for Linux and Windows of it. And mainly I wish that when the bot initiates, the console window should hide and the user shou...

  6. How to select a directory and store the location using tkinter in Python

    I am creating a GUI with a browse button which I only want to return the path. I've been looking at solutions using code like below. Tkinter.Button(subframe, text = "Browse", command = self.

  7. Quick and easy file dialog in Python? - Stack Overflow

    Feb 17, 2012 · 7 Using tkinter (python 2) or Tkinter (python 3) it's indeed possible to display file open dialog (See other answers here). Please notice however that user interface of that dialog is outdated …

  8. python - How do you create a Tkinter GUI stop button to break an ...

    So I have a Tkinter GUI with two simple options, a start and stop button. I have defined the GUI layout: from Tkinter import * def scanning(): while True: print "hello" root = Tk() r...

  9. python - How do I create an automatically updating GUI using Tkinter ...

    Jul 20, 2014 · How do I create an automatically updating GUI using Tkinter? Asked 11 years, 4 months ago Modified 3 years, 11 months ago Viewed 62k times

  10. python - Does tkinter have a table widget? - Stack Overflow

    Feb 19, 2012 · Tkinter doesn't have a built-in table widget. The closest you can use is a Listbox or a Treeview of the tkinter's sub package ttk. However, you can use tktable, which is a wrapper around …