Tkinter标签文本不出现

时间:2019-03-02 22:38:18

标签: python-3.x tkinter

我使用的是这段代码(来自https://www.python-course.eu/tkinter_labels.php),但标签上没有文本。

CREATE VIEW stats AS
  select COUNT(DISTINCT publisher.name) as totalPublisher,
  select COUNT(DISTINCT series.name) as totalSeries
 From
  publisher,
  series

我怀疑任何问题都可能涉及import tkinter as tk root = tk.Tk() w = tk.Label(root, text="Hello Tkinter!") w.pack() root.mainloop() 函数。

0 个答案:

没有答案