我的货币有这个,但我想添加一个滚动条。我见过的所有方法都有Listbox
或canvas
,我没有使用。
import Tkinter as tk
file = open('curfile')
data = file.read()
file.close()
window = tk.Tk()
Results = tk.Label(window, text=data, justify='left')
Results.grid(row = 1, column = 1)
Results.configure(background='black', foreground='white')
window.mainloop()