what we will make by the end of the day

FireShot Capture 055 - 100 Days of Code_ The Complete Python Pro Bootcamp for 2022 - Udemy_ - www.udemy.com.png

History of GUI and Introduction to Tkinter

微軟英雄 - 维基百科,自由的百科全书

• 影片尾段 比爾·蓋茲Bill Gates與 史提夫·賈伯斯Steve Jobs的對話中,暗示蘋果和微軟"雙方"均有從"富有鄰居"Xerox PARC中盜取圖像用家介面GUI的概念。現實上,史提夫·賈伯斯 曾與Xerox相談交易,請Xerox注資1,000,000美元到蘋果,以獲取10,000股蘋果的股票 (pre-IPO shares);而蘋果則可派人進入PARC參觀PARC的成就三天。蘋果上市首年, Xerox持有蘋果股票價值17,600,000美元[2]. 1989年Xerox因為Lisa/MAC所使用圖形GUI涉嫌抄襲Xerox PARC所發展出來的Alto,而控告Apple,不過大多數的控告在1990年3月被法院駁回。而數年後,微軟Microsoft在視窗Windows中,也使用了 蘋果/Xerox的 (WIMP)圖像用家介面GUI的概念,但並沒有付蘋果或Xerox分毫。蘋果感到視窗的外觀與功能('look and feel')接近得近乎抄襲Lisa/Mac的GUI,故而觸發了一場著作權訴訟.[3]

Creating Windows and Labels with Tkinter

FireShot Capture 058 - 100 Days of Code_ The Complete Python Pro Bootcamp for 2022 - Udemy_ - www.udemy.com.png

2022-05-23.png

tkinter - Python interface to Tcl/Tk - Python 3.10.4 documentation

import tkinter

window = tkinter.Tk()
window.title('My First GUI Program')
window.minsize(width=500, height=300)

#Label
my_label = tkinter.Label(text="I Am Label", font=("Arial", 24, "bold"))
my_label.pack(expand = True)

window.mainloop()

2022-05-23 (1).png