About 33,800,000 results
Open links in new tab
  1. Tkinter: "Python may not be configured for Tk" - Stack Overflow

    So appearantly many seems to have had this issue (me including) and I found the fault to be that Tkinter wasn't installed on my system when python was compiled. This post describes how to …

  2. python - What does calling Tk () actually do? - Stack Overflow

    Jul 14, 2014 · root = tk.Tk() app = Application(root) The program would run as well as it did before. With all this in mind, what I'm interested in knowing is: What does calling root = tk.Tk() …

  3. 国际版抖音TikTok国内使用方法大全(亲测有效)

    Jun 7, 2022 · 大家好,我是每天奋战在TK第一线,致力于串联TK与跨境电商的TK“老工具人”——轻易。初心是不断输出干货给需要的朋友,希望大家少踩坑。 目前已在知乎持续更 …

  4. python - How do I close a tkinter window? - Stack Overflow

    root.destroy() While destroy() command vanishes out root.mainloop(), i.e., root.mainloop() stops. <window>.destroy() completely destroys and closes the window. So, if you want to exit and …

  5. python - How to pip install tkinter - Stack Overflow

    Oct 17, 2021 · Now Install Tkinter Tkinter can be installed using pip. The following command is run in the command prompt to install Tkinter. pip install tk This command will start …

  6. How to pass arguments to a Button command in Tkinter?

    Aug 3, 2011 · import Tkinter as Tk win = Tk.Toplevel() frame = Tk.Frame(master=win).grid(row=1, column=1) button = Tk.Button(master=frame, text='press', command=action) The method …

  7. How to specify where a Tkinter window opens? - Stack Overflow

    Feb 16, 2013 · How can I tell a Tkinter window where to open, based on screen dimensions? I would like it to open in the middle.

  8. Trying to use Tkinter throws Tcl error "Can't find a usable init.tcl"

    In case you are using a virtual environment on Windows, I have found a solution here. In a nuthsell: Copy the tcl/ folder from the Python root, e.g. C:/Python27/, to the root of the virtual …

  9. What does the "tk.call" function do in Python/Tkinter?

    Feb 21, 2015 · package require tk frame .f button .f.b -text "Press me!" (note: Tkinter actually generates more complex names than .f and .f.b, but the concept is the same) The call method …

  10. python - List of All Tkinter Events - Stack Overflow

    5 The comprehensive list of all symbols recognised by current tkinter (which bundles Tcl/Tk 8.6 threaded, as of when I'm writing this) can be found here.