About 51,900,000 results
Open links in new tab
  1. 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() …

  2. python - root = tkinter.Tk () or root = Tk ()? - Stack Overflow

    Jul 2, 2020 · I can't figure out if it's about root = tkinter.Tk() vs root = Tk(), or import tkinter vs from tkinter import *, or something entirely different. I can't find a successful combination. I'm using …

  3. 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 …

  4. difference between tk.Tk() and tk.Frame - Stack Overflow

    Dec 27, 2019 · I have noticed that both of the instructions tk.Tk() and tk.Frame make a new window, so what is the difference between them? and what is the advantage of using one over …

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

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

  6. 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 …

  7. Subclass of tkinter's Toplevel class doesn't seem to inherit "tk" …

    Apr 13, 2025 · I'm writing a Python application using tkinter GUI. I created the TimestampWindow class which should be one of my Windows and made it extend the Toplevel class of tkinter's …

  8. python - Difference between tkinter and Tkinter - Stack Overflow

    The capitalization of Tkinter and tkinter widget, method and option names is significantly different across the board. In some cases, the names themselves are different. Some features of …

  9. 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 …

  10. python - Tkinter module not found on Ubuntu - Stack Overflow

    I don't know what happened, sudo apt-get install python3-tk did not work for me (tkinter still not found), but installing python3-tk via synaptic did work. (Ubuntu 16.04 with python 3.6)